Commit d14d4e5f authored by Thorsten Zachmann's avatar Thorsten Zachmann

o small optimization. No need for calculating the rect every time. Once

  is enough.

svn path=/trunk/koffice/; revision=607886
parent eb8fbed2
......@@ -244,9 +244,9 @@ void KoShape::repaint() const {
void KoShape::repaint(const QRectF &shape) const {
if ( !m_shapeManagers.empty() && isVisible() )
QRectF rect(m_matrix.mapRect(shape));
foreach( KoShapeManager * manager, m_shapeManagers )
QRectF rect(m_matrix.mapRect(shape));
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment