99f6f3c
From 0f8380fc4786f0eb13d8e46f5d7ae85f9326cd17 Mon Sep 17 00:00:00 2001
99f6f3c
Message-Id: <0f8380fc4786f0eb13d8e46f5d7ae85f9326cd17.1351700269.git.erack@redhat.com>
99f6f3c
From: Eike Rathke <erack@redhat.com>
99f6f3c
Date: Fri, 26 Oct 2012 18:09:20 +0200
99f6f3c
Subject: [PATCH] resolved rhbz865058 retard overflow of internal table of
99f6f3c
 number formats
99f6f3c
MIME-Version: 1.0
99f6f3c
Content-Type: multipart/mixed; boundary="------------erAck-patch-parts"
99f6f3c
99f6f3c
This is a multi-part message in MIME format.
99f6f3c
--------------erAck-patch-parts
99f6f3c
Content-Type: text/plain; charset=UTF-8; format=fixed
99f6f3c
Content-Transfer-Encoding: 8bit
99f6f3c
99f6f3c
99f6f3c
Due to an insane amount of ridiculous "user-defined" number formats the
99f6f3c
internal table may overflow during import, stave off and increase the
99f6f3c
number of available slots to another arbitrary limit.
99f6f3c
(cherry picked from commit 075e9ca0b96f37b3561824c23af60872d6a9d80a)
99f6f3c
99f6f3c
Conflicts:
99f6f3c
99f6f3c
	svl/inc/svl/zforlist.hxx
99f6f3c
99f6f3c
Change-Id: I3772e0dfea25357a9f8ca52c41e85798ff26798c
99f6f3c
Reviewed-on: https://gerrit.libreoffice.org/952
99f6f3c
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
99f6f3c
Tested-by: Miklos Vajna <vmiklos@suse.cz>
99f6f3c
---
99f6f3c
 svl/inc/svl/zforlist.hxx |    2 +-
99f6f3c
 1 files changed, 1 insertions(+), 1 deletions(-)
99f6f3c
99f6f3c
99f6f3c
--------------erAck-patch-parts
99f6f3c
Content-Type: text/x-patch; name="0001-resolved-rhbz865058-retard-overflow-of-internal-tabl.patch"
99f6f3c
Content-Transfer-Encoding: 8bit
99f6f3c
Content-Disposition: attachment; filename="0001-resolved-rhbz865058-retard-overflow-of-internal-tabl.patch"
99f6f3c
99f6f3c
diff --git a/svl/inc/svl/zforlist.hxx b/svl/inc/svl/zforlist.hxx
99f6f3c
index 627284a..67a84e5 100644
99f6f3c
--- a/svl/inc/svl/zforlist.hxx
99f6f3c
+++ b/svl/inc/svl/zforlist.hxx
99f6f3c
@@ -64,7 +64,7 @@ namespace rtl {
99f6f3c
     class OUString;
99f6f3c
 }
99f6f3c
 
99f6f3c
-#define SV_COUNTRY_LANGUAGE_OFFSET  5000    // Max count of formats per country/language
99f6f3c
+#define SV_COUNTRY_LANGUAGE_OFFSET 10000    // Max count of formats per country/language
99f6f3c
 #define SV_MAX_ANZ_STANDARD_FORMATE  100    // Max count of builtin default formats per CL
99f6f3c
 
99f6f3c
 // Format types
99f6f3c
99f6f3c
--------------erAck-patch-parts--
99f6f3c
99f6f3c