summaryrefslogtreecommitdiff
path: root/basegfx/source/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-08-02 14:56:27 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-08-04 05:46:22 +0000
commite5e7475febbca460c30eaf4959d3282688383ef2 (patch)
treea3c07eb67978c07ec1fc6acd6f8ca41adc043afb /basegfx/source/inc
parent6d9cf658eda57c29c2848a7b6eaf5a8285e14972 (diff)
loplugin:countusersofdefaultparams in basctl..basic
Change-Id: I16fac3317ebf55581cb9aaef676a9759de51d695 Reviewed-on: https://gerrit.libreoffice.org/27793 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'basegfx/source/inc')
-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,