diff options
Diffstat (limited to 'ksvg/impl/SVGShapeImpl.cc')
-rw-r--r-- | ksvg/impl/SVGShapeImpl.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ksvg/impl/SVGShapeImpl.cc b/ksvg/impl/SVGShapeImpl.cc index 255ab286..755bbd13 100644 --- a/ksvg/impl/SVGShapeImpl.cc +++ b/ksvg/impl/SVGShapeImpl.cc @@ -59,9 +59,9 @@ SVGShapeImpl::~SVGShapeImpl() bool SVGShapeImpl::directRender() { - SVGShapeImpl *tqparent = dynamic_cast<SVGShapeImpl *>(ownerDoc()->getElementFromHandle(parentNode().handle())); - if(tqparent) - return tqparent->directRender(); + SVGShapeImpl *parent = dynamic_cast<SVGShapeImpl *>(ownerDoc()->getElementFromHandle(parentNode().handle())); + if(parent) + return parent->directRender(); else return true; } |