summaryrefslogtreecommitdiff
path: root/basegfx/source/inc/stringconversiontools.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'basegfx/source/inc/stringconversiontools.hxx')
-rw-r--r--basegfx/source/inc/stringconversiontools.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/basegfx/source/inc/stringconversiontools.hxx b/basegfx/source/inc/stringconversiontools.hxx
index c23fb5083a03..519bc2ce83e7 100644
--- a/basegfx/source/inc/stringconversiontools.hxx
+++ b/basegfx/source/inc/stringconversiontools.hxx
@@ -36,8 +36,8 @@ namespace basegfx
const sal_Int32 nLen);
inline bool isOnNumberChar(const sal_Unicode aChar,
- bool bSignAllowed = true,
- bool bDotAllowed = true)
+ bool bSignAllowed,
+ bool bDotAllowed)
{
const bool bPredicate( (sal_Unicode('0') <= aChar && sal_Unicode('9') >= aChar)
|| (bSignAllowed && sal_Unicode('+') == aChar)
@@ -51,7 +51,7 @@ namespace basegfx
const sal_Int32 nPos,
bool bSignAllowed = true)
{
- return isOnNumberChar(rStr[nPos], bSignAllowed);
+ return isOnNumberChar(rStr[nPos], bSignAllowed, true);
}
bool getDoubleChar(double& o_fRetval,