summaryrefslogtreecommitdiff
path: root/sal/rtl/source/math.cxx
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@oracle.com>2010-11-22 14:30:32 +0100
committerFrank Schoenheit [fs] <frank.schoenheit@oracle.com>2010-11-22 14:30:32 +0100
commite08c34ff87f2b676acc265fc0f23a5ee7ebeeee3 (patch)
treebf2ca00fb99dd070cf4009a47a7b8e7ffbc49f3c /sal/rtl/source/math.cxx
parent0984f79786baa0e6b3181bba700470be78b8605d (diff)
parent075e1732d439fafd93d9dad93e450b4ad80b3745 (diff)
dba34b: merge after pulling DEV300.m94
Diffstat (limited to 'sal/rtl/source/math.cxx')
-rw-r--r--sal/rtl/source/math.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/rtl/source/math.cxx b/sal/rtl/source/math.cxx
index d983c5726230..34b940a301c9 100644
--- a/sal/rtl/source/math.cxx
+++ b/sal/rtl/source/math.cxx
@@ -923,7 +923,7 @@ inline double stringToDouble(CharT const * pBegin, CharT const * pEnd,
if (pStatus != 0)
*pStatus = eStatus;
if (pParsedEnd != 0)
- *pParsedEnd = p;
+ *pParsedEnd = p == p0 ? pBegin : p;
return fVal;
}