diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:56:05 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-03 19:30:03 +0200 |
commit | 5027dfec5092217f70492dd6712059e46b21d003 (patch) | |
tree | 7e5874391acf3098475adda80fe2b068a00e304c /ksvg/impl/SVGUseElementImpl.cc | |
parent | a84302cc767bcabbf01b8c76f61419f4a2ab4ff0 (diff) | |
download | tdegraphics-5027dfec5092217f70492dd6712059e46b21d003.tar.gz tdegraphics-5027dfec5092217f70492dd6712059e46b21d003.zip |
Remove additional unneeded tq method conversions
(cherry picked from commit 74c05bbf9d92e43a6cf3799355b5f3598884409e)
Diffstat (limited to 'ksvg/impl/SVGUseElementImpl.cc')
-rw-r--r-- | ksvg/impl/SVGUseElementImpl.cc | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/ksvg/impl/SVGUseElementImpl.cc b/ksvg/impl/SVGUseElementImpl.cc index 872bb0bc..db822a64 100644 --- a/ksvg/impl/SVGUseElementImpl.cc +++ b/ksvg/impl/SVGUseElementImpl.cc @@ -182,9 +182,9 @@ SVGRectImpl *SVGUseElementImpl::getBBox() { if(m_instanceRoot) { - SVGShapeImpl *tqshape = dynamic_cast<SVGShapeImpl *>(m_instanceRoot->correspondingElement()); - if(KSVG_TOKEN_NOT_PARSED(Width) && KSVG_TOKEN_NOT_PARSED(Height) && tqshape) - return tqshape->getBBox(); + SVGShapeImpl *shape = dynamic_cast<SVGShapeImpl *>(m_instanceRoot->correspondingElement()); + if(KSVG_TOKEN_NOT_PARSED(Width) && KSVG_TOKEN_NOT_PARSED(Height) && shape) + return shape->getBBox(); } SVGRectImpl *ret = new SVGRectImpl(); @@ -370,19 +370,19 @@ void SVGUseElementImpl::update(CanvasItemUpdate reason, int param1, int param2) { if(m_instanceRoot) { - SVGShapeImpl *tqshape = dynamic_cast<SVGShapeImpl *>(m_instanceRoot->correspondingElement()); - if(tqshape) - tqshape->update(reason, param1, param2); + SVGShapeImpl *shape = dynamic_cast<SVGShapeImpl *>(m_instanceRoot->correspondingElement()); + if(shape) + shape->update(reason, param1, param2); } } -void SVGUseElementImpl::tqinvalidate(KSVGCanvas *c, bool recalc) +void SVGUseElementImpl::invalidate(KSVGCanvas *c, bool recalc) { if(m_instanceRoot) { - SVGShapeImpl *tqshape = dynamic_cast<SVGShapeImpl *>(m_instanceRoot->correspondingElement()); - if(tqshape) - tqshape->tqinvalidate(c, recalc); + SVGShapeImpl *shape = dynamic_cast<SVGShapeImpl *>(m_instanceRoot->correspondingElement()); + if(shape) + shape->invalidate(c, recalc); } } @@ -390,9 +390,9 @@ void SVGUseElementImpl::setReferenced(bool referenced) { if(m_instanceRoot) { - SVGShapeImpl *tqshape = dynamic_cast<SVGShapeImpl *>(m_instanceRoot->correspondingElement()); - if(tqshape) - tqshape->setReferenced(referenced); + SVGShapeImpl *shape = dynamic_cast<SVGShapeImpl *>(m_instanceRoot->correspondingElement()); + if(shape) + shape->setReferenced(referenced); } } @@ -400,9 +400,9 @@ void SVGUseElementImpl::draw() { if(m_instanceRoot) { - SVGShapeImpl *tqshape = dynamic_cast<SVGShapeImpl *>(m_instanceRoot->correspondingElement()); - if(tqshape) - tqshape->draw(); + SVGShapeImpl *shape = dynamic_cast<SVGShapeImpl *>(m_instanceRoot->correspondingElement()); + if(shape) + shape->draw(); } } |