Commit 65e7a97e authored by Johannes Simon's avatar Johannes Simon

Woops, I think this makes more sense

svn path=/trunk/koffice/; revision=838204
parent 8a86a563
......@@ -39,7 +39,7 @@ class KoShapeLoadingContext;
* </draw:frame>
* @endcode
*
* The loading code of the shape gets passed to the draw:frame element. Out of this element the
* The loading code of the shape gets passed the draw:frame element. Out of this element the
* odf attributes can be loaded. Then it calls loadOdfFrame which loads the correct frame element
* the object supports. The loading of the frame element is done in the loadOdfFrameElement.
*
......
......@@ -293,7 +293,7 @@ QMatrix KoShape::absoluteTransformation(const KoViewConverter *converter) const
KoShapeContainer * container = d->parent;
if( container ) {
if( container->childClipped(this) )
matrix = container->absoluteTransformation(0);
matrix = container->absoluteTransformation(converter);
else {
QSizeF containerSize = container->size();
QPointF containerPos = container->absolutePosition() - QPointF( 0.5*containerSize.width(), 0.5*containerSize.height() );
......
......@@ -180,9 +180,6 @@ void KoShapeManager::paint( QPainter &painter, const KoViewConverter &converter,
qSort(sortedShapes.begin(), sortedShapes.end(), KoShape::compareShapeZIndex);
foreach ( KoShape * shape, sortedShapes ) {
if(shape->parent() != 0 && shape->parent()->childClipped(shape))
continue;
d->strategy->paint( shape, painter, converter, forPrint );
}
......
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