Commit 688d673b authored by Jan Hambrecht's avatar Jan Hambrecht

fix crash by removing the shape from its parent

in the shapes dtor


svn path=/trunk/koffice/; revision=698865
parent a15a9243
......@@ -74,6 +74,8 @@ public:
}
~Private() {
if( parent )
parent->removeChild( me );
foreach(KoShapeManager *manager, shapeManagers)
manager->remove(me);
delete userData;
......
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