Commit c3a8c5bf authored by Thomas Zander's avatar Thomas Zander


don't cast when its already the requested type

svn path=/trunk/koffice/; revision=644225
parent c5968b58
......@@ -327,7 +327,7 @@ QMatrix KoShape::transformationMatrix(const KoViewConverter *converter) const {
containerPos = converter->documentToView(containerPos);
matrix.translate(containerPos.x(), containerPos.y());
container = dynamic_cast<KoShapeContainer*>(container->parent());
container = container->parent();
child = child->parent();
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