svgtopt/SVGEngineJI/src/SvgJavaInterfaceImpl.cpp
changeset 17 443d52b01c62
parent 0 d46562c3d99d
child 19 df65ec4f2d28
child 38 db5c883ad1c5
--- a/svgtopt/SVGEngineJI/src/SvgJavaInterfaceImpl.cpp	Fri Mar 19 09:42:47 2010 +0200
+++ b/svgtopt/SVGEngineJI/src/SvgJavaInterfaceImpl.cpp	Fri Apr 16 15:55:53 2010 +0300
@@ -1257,15 +1257,17 @@
     ********************************************************/
     if(aElementHandle)
         {
-        TInt32 lValue = 0;
+        //TInt32 lValue = 0;
+        
         TInt lSvgAttrId = SvgGetAttributeTypeMappingJSRtoSVG(aAttribute);
         if(lSvgAttrId != KSvgUnknownAttribute)
             {
-
+			TInt lValue = SvgEnumerationMappingJSRtoSVG(lSvgAttrId , (TInt)aValue);
+			/*
             lValue = SvgEnumerationMappingJSRtoSVG(lSvgAttrId , (TInt)aValue);
             
             if ( lValue == KErrNotFound && aValue == ATTRIBUTE_INHERIT ) 
-                lValue = KSVGAttributeInherit;
+                lValue = KSVGAttributeInherit;*/
             if(lSvgAttrId == KCSS_ATTR_FONTSIZE)
                 {
                 if(lValue != KErrNotFound)