[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdegraphics/ksvg/impl
From: Rob Buis <rwlbuis () xs4all ! nl>
Date: 2003-12-01 18:39:21
[Download RAW message or body]
CVS commit by buis:
Remove unneeded cast.
M +2 -4 SVGStylableImpl.cc 1.160
--- kdegraphics/ksvg/impl/SVGStylableImpl.cc #1.159:1.160
@@ -99,9 +99,7 @@ SVGStylableImpl::~SVGStylableImpl()
void SVGStylableImpl::processStyle()
{
- SVGElementImpl *element = dynamic_cast<SVGElementImpl *>(m_object);
-
SVGStylableImpl *parentStyle = 0;
- if(element && element->ownerDoc())
- parentStyle = dynamic_cast<SVGStylableImpl \
*>(element->ownerDoc()->getElementFromHandle((*element).parentNode().handle())); + \
if(m_object && m_object->ownerDoc()) + parentStyle = \
dynamic_cast<SVGStylableImpl \
*>(m_object->ownerDoc()->getElementFromHandle((*m_object).parentNode().handle()));
// Spec: default "none"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic