summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2012-10-26 18:09:20 +0200
committerEike Rathke <erack@redhat.com>2012-10-31 15:41:14 +0100
commit075e9ca0b96f37b3561824c23af60872d6a9d80a (patch)
treea2601b73daa6dab5e0fcbb996bc02e02ba492eec
parent0ac9a10d312dc8f12a74720ce211823ce4addf7b (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.
-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 5a86329578b4..d5b2992fe83c 100644
--- a/svl/inc/svl/zforlist.hxx
+++ b/svl/inc/svl/zforlist.hxx
@@ -52,7 +52,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 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