summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Giffuni <pfg@apache.org>2012-11-24 16:36:34 +0000
committerPedro Giffuni <pfg@apache.org>2012-11-24 16:36:34 +0000
commit8f4457b94f439f3b8a4a8611f98daa411b615e9e (patch)
tree97ea924c73ce8f64da453d99869cf426e3aaf920
parent7b20978d84db1f7f545ff608bdb09275813e2219 (diff)
Bump SV_COUNTRY_LANGUAGE_OFFSET - Max count of formats per country/language
The previous value was 5000, we are bumping it to 8000. This is rather arbitrary number based on a similar change done in LibreOffice by Eike Rathke. According to the Eike's commit: 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.
Notes
Notes: prefer: 075e9ca0b96f37b3561824c23af60872d6a9d80a
-rw-r--r--svl/inc/svl/zforlist.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/inc/svl/zforlist.hxx b/svl/inc/svl/zforlist.hxx
index 273ff62c649e..45b30a566e2c 100644
--- a/svl/inc/svl/zforlist.hxx
+++ b/svl/inc/svl/zforlist.hxx
@@ -58,7 +58,7 @@ namespace com { namespace sun { namespace star {
}}}
-#define SV_COUNTRY_LANGUAGE_OFFSET 5000 // Max count of formats per country/language
+#define SV_COUNTRY_LANGUAGE_OFFSET 8000 // Max count of formats per country/language
#define SV_MAX_ANZ_STANDARD_FORMATE 100 // Max count of builtin default formats per CL
// Format types