summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorBaole Fang <baole.fang@gmail.com>2023-06-25 22:08:37 -0400
committerCaolán McNamara <caolan.mcnamara@collabora.com>2023-07-04 11:17:10 +0200
commit254161f9dd2b7b3e416c54dfeb8e8c6e81cd7dcd (patch)
tree18b19cccddfee96ee6e4be7cd06258bed585c094 /editeng
parent7fede2c47f8a24b80700fe3b82f71a0f60bffd3d (diff)
tdf#92311: increase word completion limit
Change-Id: I0198327d235bdb4048e002aab211e20d1701fa6c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153571 Tested-by: Jenkins Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com> Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/misc/acorrcfg.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/editeng/source/misc/acorrcfg.cxx b/editeng/source/misc/acorrcfg.cxx
index 8603b4347da1..4ff15f1bfc2d 100644
--- a/editeng/source/misc/acorrcfg.cxx
+++ b/editeng/source/misc/acorrcfg.cxx
@@ -524,9 +524,9 @@ void SvxSwAutoCorrCfg::Load(bool bInit)
break; // "Completion/MinWordLen",
case 35:
{
- sal_Int32 nVal = 0; pValues[nProp] >>= nVal;
+ sal_Int64 nVal = 0; pValues[nProp] >>= nVal;
rSwFlags.nAutoCmpltListLen =
- sal::static_int_cast< sal_uInt16 >(nVal);
+ sal::static_int_cast< sal_uInt32 >(nVal);
}
break; // "Completion/MaxListLen",
case 36: rSwFlags.bAutoCmpltCollectWords = *o3tl::doAccess<bool>(pValues[nProp]); break; // "Completion/CollectWords",