summaryrefslogtreecommitdiffstats
path: root/ksvg/impl/SVGEcma.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ksvg/impl/SVGEcma.cc')
-rw-r--r--ksvg/impl/SVGEcma.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/ksvg/impl/SVGEcma.cc b/ksvg/impl/SVGEcma.cc
index 111b2887..87eca6e0 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 *tqshape = dynamic_cast<SVGShapeImpl *>(doc->getElementFromHandle(node.handle()));
- if(tqshape && tqshape->item())
- doc->canvas()->removeItem(tqshape->item());
+ SVGShapeImpl *shape = dynamic_cast<SVGShapeImpl *>(doc->getElementFromHandle(node.handle()));
+ if(shape && shape->item())
+ doc->canvas()->removeItem(shape->item());
}
// parseXML + getURL() need all these 5 functions to work properly