[Libreoffice-commits] .: Branch 'libreoffice-3-5' - svl/inc

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Oct 31 09:12:22 PDT 2012


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

New commits:
commit 0f8380fc4786f0eb13d8e46f5d7ae85f9326cd17
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.
    (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 at suse.cz>
    Tested-by: Miklos Vajna <vmiklos at suse.cz>

diff --git a/svl/inc/svl/zforlist.hxx b/svl/inc/svl/zforlist.hxx
index 627284a..67a84e5 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


More information about the Libreoffice-commits mailing list