summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2012-10-26 18:09:20 +0200
committerMiklos Vajna <vmiklos@suse.cz>2012-10-31 16:11:53 +0000
commit0f8380fc4786f0eb13d8e46f5d7ae85f9326cd17 (patch)
tree6f78262deccb8d3528c02044e2545e21fd8e3114
parent58ac5a4b305dd74df04df69351fb0e354a2e4b6a (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: I3772e0dfea25357a9f8ca52c41e85798ff26798c Reviewed-on: https://gerrit.libreoffice.org/952 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
-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 627284a77554..67a84e56d5f2 100644
--- a/svl/inc/svl/zforlist.hxx
+++ b/svl/inc/svl/zforlist.hxx
@@ -64,7 +64,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