You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by pf...@apache.org on 2012/11/24 18:36:35 UTC
svn commit: r1413213 - /incubator/ooo/trunk/main/svl/inc/svl/zforlist.hxx
Author: pfg
Date: Sat Nov 24 17:36:34 2012
New Revision: 1413213
URL: http://svn.apache.org/viewvc?rev=1413213&view=rev
Log:
Bump SV_COUNTRY_LANGUAGE_OFFSET - Max count of formats per country/language
The previous value was 5000, we are bumping it to 8000. This is rather
arbitrary number based on a similar change done in LibreOffice by Eike
Rathke.
According to the Eike's commit:
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.
Modified:
incubator/ooo/trunk/main/svl/inc/svl/zforlist.hxx
Modified: incubator/ooo/trunk/main/svl/inc/svl/zforlist.hxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/svl/inc/svl/zforlist.hxx?rev=1413213&r1=1413212&r2=1413213&view=diff
==============================================================================
--- incubator/ooo/trunk/main/svl/inc/svl/zforlist.hxx (original)
+++ incubator/ooo/trunk/main/svl/inc/svl/zforlist.hxx Sat Nov 24 17:36:34 2012
@@ -58,7 +58,7 @@ namespace com { namespace sun { namespac
}}}
-#define SV_COUNTRY_LANGUAGE_OFFSET 5000 // Max count of formats per country/language
+#define SV_COUNTRY_LANGUAGE_OFFSET 8000 // Max count of formats per country/language
#define SV_MAX_ANZ_STANDARD_FORMATE 100 // Max count of builtin default formats per CL
// Format types