diff options
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/numbers/zforscan.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/svl/source/numbers/zforscan.cxx b/svl/source/numbers/zforscan.cxx index 1434bbf08636..3f1712ff0fb5 100644 --- a/svl/source/numbers/zforscan.cxx +++ b/svl/source/numbers/zforscan.cxx @@ -20,7 +20,6 @@ #include <stdlib.h> #include <comphelper/string.hxx> -#include <o3tl/safeint.hxx> #include <sal/log.hxx> #include <tools/debug.hxx> #include <i18nlangtag/mslangid.hxx> @@ -1635,7 +1634,7 @@ bool ImpSvNumberformatScan::InsertSymbol( sal_uInt16 & nPos, svt::NfSymbolType e } else { - if (o3tl::make_unsigned(nStringsCnt + 1) >= NF_MAX_FORMAT_SYMBOLS) + if (nStringsCnt >= NF_MAX_FORMAT_SYMBOLS - 1) { return false; } |