diff options
author | Eike Rathke <erack@redhat.com> | 2014-03-28 15:38:04 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2014-03-28 17:35:36 +0100 |
commit | 2cf4763e3c1810af3278b4bf63f76cec9e94d28c (patch) | |
tree | 6c3c51bedb298c0197aae534967073917b0066dd /svl/source/numbers/zforfind.cxx | |
parent | 52595d98bfdd19df16031f024b8a0be79c0ca3f6 (diff) |
we have a constant, use it
Change-Id: I402f64fdab57508df20d4dffa7bdfdf9473d8b45
Diffstat (limited to 'svl/source/numbers/zforfind.cxx')
-rw-r--r-- | svl/source/numbers/zforfind.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/numbers/zforfind.cxx b/svl/source/numbers/zforfind.cxx index 4bb4c18d27c2..e18c50d76b0e 100644 --- a/svl/source/numbers/zforfind.cxx +++ b/svl/source/numbers/zforfind.cxx @@ -494,7 +494,7 @@ inline bool ImpSvNumberInputScan::GetThousandSep( const OUString& rString, { const OUString& rSep = pFormatter->GetNumThousandSep(); // Is it an ordinary space instead of a non-breaking space? - bool bSpaceBreak = rSep[0] == (sal_Unicode)0xa0 && rString[0] == (sal_Unicode)0x20 && + bool bSpaceBreak = rSep[0] == cNonBreakingSpace && rString[0] == (sal_Unicode)0x20 && rSep.getLength() == 1 && rString.getLength() == 1; if (!((rString == rSep || bSpaceBreak) && // nothing else nStringPos < nAnzStrings - 1 && // safety first! |