From fef1b6e42dc22d764140ea0f8e690225c697bb96 Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Fri, 26 Oct 2012 18:09:20 +0200 Subject: 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 Tested-by: Markus Mohrhard --- svl/inc/svl/zforlist.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svl/inc') 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 -- cgit