summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2023-01-20 21:08:17 +0000
committerCaolán McNamara <caolanm@redhat.com>2023-01-21 16:21:53 +0000
commitbd0b3aac25b5163ae21fff613131cb3ff068e816 (patch)
tree064fada0b115492fecbd895d4da7c5d5ed35a404
parentc31267e23603c77e3a3335fa431bb9b74448d5b2 (diff)
tdf#144915 effectively remove limit on number of words in dictionary
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 <caolanm@redhat.com>
-rw-r--r--linguistic/source/dicimp.hxx2
1 files changed, 1 insertions, 1 deletions
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 );