editeng/source/misc/acorrcfg.cxx                           |    2 +-
 officecfg/registry/schema/org/openoffice/Office/Writer.xcs |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 2559baf56eed67dd97183d8852360866b5fe9d4e
Author:     Caolán McNamara <caolan.mcnam...@collabora.com>
AuthorDate: Tue Jul 4 10:15:53 2023 +0100
Commit:     Caolán McNamara <caolan.mcnam...@collabora.com>
CommitDate: Tue Jul 4 17:15:29 2023 +0200

    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.mcnam...@collabora.com>

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);
                 }
diff --git a/officecfg/registry/schema/org/openoffice/Office/Writer.xcs 
b/officecfg/registry/schema/org/openoffice/Office/Writer.xcs
index dd880f51cfa4..0f684bb2eea9 100644
--- a/officecfg/registry/schema/org/openoffice/Office/Writer.xcs
+++ b/officecfg/registry/schema/org/openoffice/Office/Writer.xcs
@@ -4464,7 +4464,7 @@
           </info>
           <value>8</value>
         </prop>
-        <prop oor:name="MaxListLen" oor:type="xs:long" oor:nillable="false">
+        <prop oor:name="MaxListLen" oor:type="xs:int" oor:nillable="false">
           <!-- UIHints: Tools  AutoCorrect/AutoFormat  WordCompletion  max. 
entries -->
           <info>
             <desc>Sets the maximum number of words to be recalled.</desc>

Reply via email to