From bd0b3aac25b5163ae21fff613131cb3ff068e816 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 20 Jan 2023 21:08:17 +0000 Subject: tdf#144915 effectively remove limit on number of words in dictionary MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit this was 2000 entries in the initial checkin, then changed to 30000 (in 2008). Lets makes it effectively unlimited. Change-Id: Ia757e3283f1ff41d62e6738af9d1f6674ba2fd56 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145916 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- linguistic/source/dicimp.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linguistic') diff --git a/linguistic/source/dicimp.hxx b/linguistic/source/dicimp.hxx index 4ab0025799ea..3d5233a887ac 100644 --- a/linguistic/source/dicimp.hxx +++ b/linguistic/source/dicimp.hxx @@ -30,7 +30,7 @@ #include "defs.hxx" -#define DIC_MAX_ENTRIES 30000 +#define DIC_MAX_ENTRIES SAL_MAX_INT32 sal_Int16 ReadDicVersion( SvStream& rStream, LanguageType &nLng, bool &bNeg, OUString &aDicName ); -- cgit