cui/source/options/optlingu.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7606a0652cd4adfdfc464ac0595158f6ec193212
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Tue Jul 19 09:25:52 2022 +0200
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Tue Jul 19 10:22:56 2022 +0200

    Use more appropriate index variable type
    
    Change-Id: I85d2dec9f5dc8fd09c7efa33f7c8518b7fabd4b3
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137216
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

diff --git a/cui/source/options/optlingu.cxx b/cui/source/options/optlingu.cxx
index 8f6d6a70b901..331cc2cabf83 100644
--- a/cui/source/options/optlingu.cxx
+++ b/cui/source/options/optlingu.cxx
@@ -420,7 +420,7 @@ Sequence< OUString > SvxLinguData_Impl::GetSortedImplNames( 
LanguageType nLang,
     OUString *pRes = aRes.getArray();
 
     // add not configured services
-    for (sal_Int32 i = 0;  i < static_cast<sal_Int32>(nDisplayServices);  ++i)
+    for (sal_uInt32 i = 0;  i < nDisplayServices;  ++i)
     {
         const ServiceInfo_Impl &rInfo = aDisplayServiceArr[ i ];
         OUString aImplName;

Reply via email to