diff options
author | Eike Rathke <erack@redhat.com> | 2014-11-06 21:21:12 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2014-11-06 21:32:58 +0100 |
commit | cf21cca5046564c5a427d8a0dd16917168ad9196 (patch) | |
tree | 9c89252d1d1f0cded4ab7da1a3cb5063c12c1ac1 /svl | |
parent | 303c2b91774a28933151ee15a83ef5f73ed78d69 (diff) |
assert( nNewExtended <= ZF_STANDARD_NEWEXTENDEDMAX )
Change-Id: I51ceee96f246006802879d94964ca161b63139fc
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/numbers/zforlist.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/svl/source/numbers/zforlist.cxx b/svl/source/numbers/zforlist.cxx index 8729f2e95487..f84fb167fab7 100644 --- a/svl/source/numbers/zforlist.cxx +++ b/svl/source/numbers/zforlist.cxx @@ -2459,6 +2459,7 @@ void SvNumberFormatter::ImpGenerateFormats( sal_uInt32 CLOffset, bool bNoAdditio } SAL_WARN_IF( nNewExtended > ZF_STANDARD_NEWEXTENDEDMAX, "svl.numbers", "ImpGenerateFormats: overflow of nNewExtended standard formats" ); + assert( nNewExtended <= ZF_STANDARD_NEWEXTENDEDMAX ); // Now all additional format codes provided by I18N, but only if not // changing SystemCL, then they are appended last after user defined. |