diff options
author | Tor Lillqvist <tlillqvist@novell.com> | 2011-05-16 20:40:41 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@novell.com> | 2011-05-16 20:40:41 +0300 |
commit | e45a578cca2aba7ac7bed0a856cc018427bb89b9 (patch) | |
tree | debe9537eb3b84088d0b8a7e08a0951a531ea22d /svl | |
parent | c2a48ac46ee2def38d2c26df117ad4d905e2241c (diff) |
WaE: comparison between signed and unsigned integer expressions
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/numbers/zforscan.cxx | 2 |
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) |