--- a/svgtopt/SVG/SVGImpl/src/SVGElementImpl.cpp Tue May 11 17:02:26 2010 +0300
+++ b/svgtopt/SVG/SVGImpl/src/SVGElementImpl.cpp Tue Aug 31 16:06:58 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:
@@ -2313,7 +2312,7 @@
//tParentValue = (CIntCssValueImpl *)(lParentElement->iSvgStyleProperties->operator[](aNameId));
//(*iSvgStyleProperties)[aNameId]= tParentValue;
if(tParentValue)
- tValue->SetValueL(tParentValue->Value());
+ tValue->SetValueL(tParentValue->Value());
}
else
{