Kaydet (Commit) 8f4457b9 authored tarafından Pedro Giffuni's avatar Pedro Giffuni

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.
üst 7b20978d
...@@ -58,7 +58,7 @@ namespace com { namespace sun { namespace star { ...@@ -58,7 +58,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 8000 // Max count of formats per country/language
#define SV_MAX_ANZ_STANDARD_FORMATE 100 // Max count of builtin default formats per CL #define SV_MAX_ANZ_STANDARD_FORMATE 100 // Max count of builtin default formats per CL
// Format types // Format types
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment