svgtopt/SVG/SVGImpl/src/SVGElementImpl.cpp
changeset 19 df65ec4f2d28
parent 17 443d52b01c62
--- a/svgtopt/SVG/SVGImpl/src/SVGElementImpl.cpp	Fri Apr 16 15:55:53 2010 +0300
+++ b/svgtopt/SVG/SVGImpl/src/SVGElementImpl.cpp	Mon May 03 13:22:17 2010 +0300
@@ -101,8 +101,6 @@
 			   CSvgElementImpl* lParentElement = (CSvgElementImpl*)aElement->ParentNode ();
 			   while(lParentElement && (lParentElement->iSvgStyleProperties != NULL))
 			   {
-			   		if(!lParentElement)
-			   			return EFalse;
 			      if (aElement->iSvgStyleProperties->operator[](aAttrIndex) ==
 			          lParentElement->iSvgStyleProperties->operator[](aAttrIndex))
 			      {
@@ -673,7 +671,8 @@
                 {
                 ((CSvgFontFaceElementImpl *)this)->SetFontFamilyL(aValue);
                 }
-
+				break;
+				
         case KCSS_ATTR_STROKE_LINECAP:
         case KCSS_ATTR_STROKE_LINEJOIN:
         case KCSS_ATTR_FILLRULE: