svgtopt/SVG/SVGEngine/src/SVGContentHandler.cpp
branchRCL_3
changeset 38 db5c883ad1c5
parent 18 b52e29b42806
child 39 1902ade171ab
--- a/svgtopt/SVG/SVGEngine/src/SVGContentHandler.cpp	Tue May 11 17:02:26 2010 +0300
+++ b/svgtopt/SVG/SVGEngine/src/SVGContentHandler.cpp	Tue Aug 31 16:06:58 2010 +0300
@@ -26,7 +26,7 @@
 
 #include "SVGUseElementImpl.h"
 #include "SVGAnimationElementImpl.h"
-#include "rxmlreader.h"
+#include <xml/rxmlreader.h>
 
 #include "SVGPaintCssValueImpl.h"
 #include "SVGPathElementImpl.h"
@@ -1434,9 +1434,14 @@
         CleanupStack::PopAndDestroy( 1 ); // tBufC2
         }
 
-        iCurrentElement->SetTransform(KTransform,tPf);
-
-    CleanupStack::PopAndDestroy( 2 ); // tBufC & TFinal
+        TBool rVal = iCurrentElement->SetTransform(KTransform,tPf);
+        CleanupStack::PopAndDestroy( 2 ); // tBufC & TFinal
+                
+        if (!rVal)
+        {
+            return EFalse;
+        }
+
     return ETrue;
     }