svgtopt/SVG/SVGImpl/src/SVGTokenizer.cpp
branchRCL_3
changeset 17 db5c883ad1c5
parent 0 d46562c3d99d
child 18 1902ade171ab
--- a/svgtopt/SVG/SVGImpl/src/SVGTokenizer.cpp	Tue May 11 17:02:26 2010 +0300
+++ b/svgtopt/SVG/SVGImpl/src/SVGTokenizer.cpp	Tue Aug 31 16:06:58 2010 +0300
@@ -305,11 +305,12 @@
         TLex lex( decimalString );
         // Specify the decimal seperator, instead of using
         // locale specific seperator.
-        lex.Val( aValue, '.' );
-        
-        tokenizer.SkipWhiteSpace();
-        aRemainder.Set( tokenizer.Remainder() );
-        return ETrue;
-        }
+        if(lex.Val( aValue, '.' )== KErrNone)
+            {
+            tokenizer.SkipWhiteSpace();
+            aRemainder.Set( tokenizer.Remainder() );
+            return ETrue;
+            }
+         }
     return EFalse;
     }