diff options
authorEike Rathke <>2012-10-26 18:09:20 +0200
committerPetr Mladek <>2012-11-05 20:03:33 +0100
commit6f4bb7169dd6e666aa34758dc234fef143490042 (patch)
parent5092fa14656ba9712f30cea9bce1e49978bbead9 (diff)
resolved rhbz865058 retard overflow of internal table of number formats
Due to an insane amount of ridiculous "user-defined" number formats the internal table may overflow during import, stave off and increase the number of available slots to another arbitrary limit. (cherry picked from commit 075e9ca0b96f37b3561824c23af60872d6a9d80a) Conflicts: svl/inc/svl/zforlist.hxx Change-Id: I2fb85c83a65d6c5b3183aeb3a3bda88828473a3c Reviewed-on: Reviewed-by: Markus Mohrhard <> Tested-by: Markus Mohrhard <>
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/inc/svl/zforlist.hxx b/svl/inc/svl/zforlist.hxx
index 2dfa273df6da..0a70557265c9 100644
--- a/svl/inc/svl/zforlist.hxx
+++ b/svl/inc/svl/zforlist.hxx
@@ -63,7 +63,7 @@ namespace rtl {
class OUString;
-#define SV_COUNTRY_LANGUAGE_OFFSET 5000 // Max count of formats per country/language
+#define SV_COUNTRY_LANGUAGE_OFFSET 10000 // Max count of formats per country/language
#define SV_MAX_ANZ_STANDARD_FORMATE 100 // Max count of builtin default formats per CL
// Format types