summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@novell.com>2011-05-16 20:40:41 +0300
committerTor Lillqvist <tlillqvist@novell.com>2011-05-16 20:40:41 +0300
commite45a578cca2aba7ac7bed0a856cc018427bb89b9 (patch)
treedebe9537eb3b84088d0b8a7e08a0951a531ea22d /svl
parentc2a48ac46ee2def38d2c26df117ad4d905e2241c (diff)
WaE: comparison between signed and unsigned integer expressions
Diffstat (limited to 'svl')
-rw-r--r--svl/source/numbers/zforscan.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/numbers/zforscan.cxx b/svl/source/numbers/zforscan.cxx
index ab77de17c56c..46f5951de7bd 100644
--- a/svl/source/numbers/zforscan.cxx
+++ b/svl/source/numbers/zforscan.cxx
@@ -1404,7 +1404,7 @@ bool ImpSvNumberformatScan::InsertSymbol( sal_uInt16 & nPos, svt::NfSymbolType e
--nPos; // reuse position
else
{
- if (nAnzStrings + 1 >= NF_MAX_FORMAT_SYMBOLS)
+ if ((size_t) (nAnzStrings + 1) >= NF_MAX_FORMAT_SYMBOLS)
return false;
++nAnzStrings;
for (size_t i = nAnzStrings; i > nPos; --i)