Commit 1f846430 authored by Jan Hambrecht's avatar Jan Hambrecht

fix possible crash


svn path=/trunk/koffice/; revision=931167
parent 5138f4c1
......@@ -89,8 +89,10 @@ public:
~Private() {
if (parent)
parent->removeChild(me);
foreach(KoShapeManager *manager, shapeManagers)
foreach(KoShapeManager *manager, shapeManagers) {
manager->remove(me);
manager->removeAdditional(me);
}
delete userData;
delete appData;
if (border && ! border->removeUser())
......
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