summaryrefslogtreecommitdiffstats
path: root/ksvg/impl/SVGEcma.cc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:56:05 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-03 19:30:03 +0200
commit5027dfec5092217f70492dd6712059e46b21d003 (patch)
tree7e5874391acf3098475adda80fe2b068a00e304c /ksvg/impl/SVGEcma.cc
parenta84302cc767bcabbf01b8c76f61419f4a2ab4ff0 (diff)
downloadtdegraphics-5027dfec5092217f70492dd6712059e46b21d003.tar.gz
tdegraphics-5027dfec5092217f70492dd6712059e46b21d003.zip
Remove additional unneeded tq method conversions
(cherry picked from commit 74c05bbf9d92e43a6cf3799355b5f3598884409e)
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