--- 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;
}