[Libreoffice-commits] .: svl/inc

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Oct 31 07:41:57 PDT 2012


 svl/inc/svl/zforlist.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 075e9ca0b96f37b3561824c23af60872d6a9d80a
Author: Eike Rathke <erack at redhat.com>
Date:   Fri Oct 26 18:09:20 2012 +0200

    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.

diff --git a/svl/inc/svl/zforlist.hxx b/svl/inc/svl/zforlist.hxx
index 5a86329..d5b2992 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


More information about the Libreoffice-commits mailing list