summaryrefslogtreecommitdiff
path: root/sc/source/core/tool/stringutil.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-11-13 15:03:52 +0200
committerNoel Grandin <noel@peralex.com>2013-11-14 08:17:29 +0200
commit15113ea855baab1f8319a7125cec90d203904cb7 (patch)
tree73d86eab424567cc5faa21dbb69d7937466c65f7 /sc/source/core/tool/stringutil.cxx
parent39c8da8c86decbe3443a786ad445a18b0078daa3 (diff)
remove unnecessary sal_Unicode casts in SC module
Change-Id: Iee7688ea60b4d45d3e6725afd46e9cbb5ebe26c5
Diffstat (limited to 'sc/source/core/tool/stringutil.cxx')
-rw-r--r--sc/source/core/tool/stringutil.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/core/tool/stringutil.cxx b/sc/source/core/tool/stringutil.cxx
index 2a65642a990f..e711bcba40d4 100644
--- a/sc/source/core/tool/stringutil.cxx
+++ b/sc/source/core/tool/stringutil.cxx
@@ -99,7 +99,7 @@ bool ScStringUtil::parseSimpleNumber(
// ascii space to unicode space if that is group separator
c = 0x00A0;
- if (sal_Unicode('0') <= c && c <= sal_Unicode('9'))
+ if ('0' <= c && c <= '9')
{
// this is a digit.
aBuf.append(c);
@@ -146,7 +146,7 @@ bool ScStringUtil::parseSimpleNumber(
nPosGSep = i;
nDigitCount = 0;
}
- else if (c == sal_Unicode('-') || c == sal_Unicode('+'))
+ else if (c == '-' || c == '+')
{
// A sign must be the first character if it's given, or immediately
// follow the exponent character if present.
@@ -155,7 +155,7 @@ bool ScStringUtil::parseSimpleNumber(
else
return false;
}
- else if (c == sal_Unicode('E') || c == sal_Unicode('e'))
+ else if (c == 'E' || c == 'e')
{
// this is an exponent designator.