diff options
author | Furkan Ahmet Kara <furkanahmetkara.fk@gmail.com> | 2020-03-22 23:47:21 +0300 |
---|---|---|
committer | Muhammet Kara <muhammet.kara@collabora.com> | 2020-03-23 19:27:32 +0100 |
commit | bf4f7732fa8b452efb5b1bfa4583357c06bbff2f (patch) | |
tree | 6b3158ebbae0dc1b914a2877084ffa397e0002f1 | |
parent | 5feadfad0cc3be2680213d2e5f6f786b2f4cc74f (diff) |
tdf#114441: Convert use of sal_uLong to better integer types
Change-Id: Iec1e6f0d5d3f79357182c92166ba83c5fad3521f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90894
Tested-by: Jenkins
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
-rw-r--r-- | cui/source/options/optlingu.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cui/source/options/optlingu.cxx b/cui/source/options/optlingu.cxx index cda33995205b..bf280e370660 100644 --- a/cui/source/options/optlingu.cxx +++ b/cui/source/options/optlingu.cxx @@ -1719,7 +1719,7 @@ void SvxEditModulesDlg::LangSelectHdl_Impl(const SvxLanguageBox* pBox) if (LANGUAGE_DONTKNOW != eCurLanguage) { - sal_uLong n; + sal_Int32 n; ServiceInfo_Impl* pInfo; int nRow = 0; @@ -1736,7 +1736,7 @@ void SvxEditModulesDlg::LangSelectHdl_Impl(const SvxLanguageBox* pBox) Sequence< OUString > aNames( rLinguData.GetSortedImplNames( eCurLanguage, TYPE_SPELL ) ); const OUString *pName = aNames.getConstArray(); - sal_uLong nNames = static_cast<sal_uLong>(aNames.getLength()); + sal_Int32 nNames = aNames.getLength(); sal_Int32 nLocalIndex = 0; // index relative to parent for (n = 0; n < nNames; ++n) { @@ -1785,7 +1785,7 @@ void SvxEditModulesDlg::LangSelectHdl_Impl(const SvxLanguageBox* pBox) aNames = rLinguData.GetSortedImplNames( eCurLanguage, TYPE_GRAMMAR ); pName = aNames.getConstArray(); - nNames = static_cast<sal_uLong>(aNames.getLength()); + nNames = aNames.getLength(); nLocalIndex = 0; for (n = 0; n < nNames; ++n) { @@ -1835,7 +1835,7 @@ void SvxEditModulesDlg::LangSelectHdl_Impl(const SvxLanguageBox* pBox) aNames = rLinguData.GetSortedImplNames( eCurLanguage, TYPE_HYPH ); pName = aNames.getConstArray(); - nNames = static_cast<sal_uLong>(aNames.getLength()); + nNames = aNames.getLength(); nLocalIndex = 0; for (n = 0; n < nNames; ++n) { @@ -1884,7 +1884,7 @@ void SvxEditModulesDlg::LangSelectHdl_Impl(const SvxLanguageBox* pBox) aNames = rLinguData.GetSortedImplNames( eCurLanguage, TYPE_THES ); pName = aNames.getConstArray(); - nNames = static_cast<sal_uLong>(aNames.getLength()); + nNames = aNames.getLength(); nLocalIndex = 0; for (n = 0; n < nNames; ++n) { |