Commit 8d111b65 authored by Jan Hambrecht's avatar Jan Hambrecht

use recursive visibility check


svn path=/trunk/koffice/; revision=811875
parent 9ae31ddb
......@@ -176,7 +176,7 @@ QRectF KoShapePainter::contentRect()
QRectF bound;
foreach( KoShape * shape, d->canvas->shapeManager()->shapes() )
{
if( ! shape->isVisible() )
if( ! shape->isVisible( true ) )
continue;
if( dynamic_cast<KoShapeGroup*>( shape ) )
continue;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment