summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2012-10-26 18:09:20 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-10-31 15:21:54 +0000
commitfef1b6e42dc22d764140ea0f8e690225c697bb96 (patch)
tree1bbf7b0c12c77c4ca58f592456808a78ae2256d5 /svl
parentbe49b70ece78665335cd24d69bee2b93d00997a0 (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: https://gerrit.libreoffice.org/951 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'svl')
-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 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