summaryrefslogtreecommitdiff
path: root/editeng/source/misc
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2023-07-04 10:15:53 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2023-07-04 17:15:29 +0200
commit2559baf56eed67dd97183d8852360866b5fe9d4e (patch)
tree8917e6622002876f0cbfdd30beee317ecd9a6a0f /editeng/source/misc
parent9410a22cdbe7c977206456218c75683a305ef79e (diff)
32bit is enough for the word completion limit
and we don't have to change the xcs in that case Change-Id: I246d81e4eccf3ce390b179ad6473db6ee4e4fdbc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153950 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'editeng/source/misc')
-rw-r--r--editeng/source/misc/acorrcfg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/misc/acorrcfg.cxx b/editeng/source/misc/acorrcfg.cxx
index 4ff15f1bfc2d..74d97d5a41f9 100644
--- a/editeng/source/misc/acorrcfg.cxx
+++ b/editeng/source/misc/acorrcfg.cxx
@@ -524,7 +524,7 @@ void SvxSwAutoCorrCfg::Load(bool bInit)
break; // "Completion/MinWordLen",
case 35:
{
- sal_Int64 nVal = 0; pValues[nProp] >>= nVal;
+ sal_Int32 nVal = 0; pValues[nProp] >>= nVal;
rSwFlags.nAutoCmpltListLen =
sal::static_int_cast< sal_uInt32 >(nVal);
}