svgtopt/SVGEngineJI/src/SvgJavaInterfaceImpl.cpp
branchRCL_3
changeset 8 baacd33d915b
parent 0 d46562c3d99d
child 17 db5c883ad1c5
--- a/svgtopt/SVGEngineJI/src/SvgJavaInterfaceImpl.cpp	Fri Feb 19 23:44:22 2010 +0200
+++ b/svgtopt/SVGEngineJI/src/SvgJavaInterfaceImpl.cpp	Fri Mar 12 15:47:00 2010 +0200
@@ -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)