From e3f8ef0a8eb153e276cba172bdbadd3cdb8e9cdf Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 28 Apr 2017 17:58:56 +0200 Subject: loplugin:salunicodeliteral: basegfx Change-Id: Ice43bae52ac244815ee62ee843108fd36b9918d7 --- basegfx/source/inc/stringconversiontools.hxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'basegfx/source/inc') 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; } -- cgit