svgtopt/SVG/SVGImpl/src/SVGTokenizer.cpp
changeset 19 df65ec4f2d28
parent 0 d46562c3d99d
child 39 1902ade171ab
--- a/svgtopt/SVG/SVGImpl/src/SVGTokenizer.cpp	Fri Apr 16 15:55:53 2010 +0300
+++ b/svgtopt/SVG/SVGImpl/src/SVGTokenizer.cpp	Mon May 03 13:22:17 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;
     }