summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-04-28 17:58:56 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-04-28 18:27:01 +0200
commite3f8ef0a8eb153e276cba172bdbadd3cdb8e9cdf (patch)
tree5fbf5b79cf43031ee46a3d8ab36be6755ad86fd9
parentf06e69672302db866f269fbe9cb5f34e91f8bfbb (diff)
loplugin:salunicodeliteral: basegfx
Change-Id: Ice43bae52ac244815ee62ee843108fd36b9918d7
-rw-r--r--basegfx/source/inc/stringconversiontools.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/basegfx/source/inc/stringconversiontools.hxx b/basegfx/source/inc/stringconversiontools.hxx
index 519bc2ce83e7..b49804849855 100644
--- a/basegfx/source/inc/stringconversiontools.hxx
+++ b/basegfx/source/inc/stringconversiontools.hxx
@@ -39,10 +39,10 @@ namespace basegfx
bool bSignAllowed,
bool bDotAllowed)
{
- const bool bPredicate( (sal_Unicode('0') <= aChar && sal_Unicode('9') >= aChar)
- || (bSignAllowed && sal_Unicode('+') == aChar)
- || (bSignAllowed && sal_Unicode('-') == aChar)
- || (bDotAllowed && sal_Unicode('.') == aChar));
+ const bool bPredicate( (u'0' <= aChar && u'9' >= aChar)
+ || (bSignAllowed && u'+' == aChar)
+ || (bSignAllowed && u'-' == aChar)
+ || (bDotAllowed && u'.' == aChar));
return bPredicate;
}