diff options
Diffstat (limited to 'ksvg/impl/SVGEcma.cc')
-rw-r--r-- | ksvg/impl/SVGEcma.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ksvg/impl/SVGEcma.cc b/ksvg/impl/SVGEcma.cc index 87eca6e0..111b2887 100644 --- a/ksvg/impl/SVGEcma.cc +++ b/ksvg/impl/SVGEcma.cc @@ -169,9 +169,9 @@ void removeItem(ExecState *exec, DOM::Node &node) SVGDocumentImpl *doc = KSVG::Window::retrieveActive(exec)->doc(); // Update canvas - SVGShapeImpl *shape = dynamic_cast<SVGShapeImpl *>(doc->getElementFromHandle(node.handle())); - if(shape && shape->item()) - doc->canvas()->removeItem(shape->item()); + SVGShapeImpl *tqshape = dynamic_cast<SVGShapeImpl *>(doc->getElementFromHandle(node.handle())); + if(tqshape && tqshape->item()) + doc->canvas()->removeItem(tqshape->item()); } // parseXML + getURL() need all these 5 functions to work properly |