diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-04-28 17:58:56 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-04-28 18:27:01 +0200 |
commit | e3f8ef0a8eb153e276cba172bdbadd3cdb8e9cdf (patch) | |
tree | 5fbf5b79cf43031ee46a3d8ab36be6755ad86fd9 /basegfx/source/inc | |
parent | f06e69672302db866f269fbe9cb5f34e91f8bfbb (diff) |
loplugin:salunicodeliteral: basegfx
Change-Id: Ice43bae52ac244815ee62ee843108fd36b9918d7
Diffstat (limited to 'basegfx/source/inc')
-rw-r--r-- | basegfx/source/inc/stringconversiontools.hxx | 8 |
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; } |