summaryrefslogtreecommitdiffstats
path: root/ksvg/impl/SVGElementImpl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ksvg/impl/SVGElementImpl.cc')
-rw-r--r--ksvg/impl/SVGElementImpl.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/ksvg/impl/SVGElementImpl.cc b/ksvg/impl/SVGElementImpl.cc
index deab7476..940790f2 100644
--- a/ksvg/impl/SVGElementImpl.cc
+++ b/ksvg/impl/SVGElementImpl.cc
@@ -496,9 +496,9 @@ void SVGElementImpl::setAttributes(bool deep)
bool SVGElementImpl::prepareMouseEvent(const TQPoint &p, const TQPoint &a, SVGMouseEventImpl *mev)
{
- SVGShapeImpl *tqshape = dynamic_cast<SVGShapeImpl *>(this);
- if(tqshape)
- return tqshape->prepareMouseEvent(p, a, mev);
+ SVGShapeImpl *shape = dynamic_cast<SVGShapeImpl *>(this);
+ if(shape)
+ return shape->prepareMouseEvent(p, a, mev);
return false;
}