cui/source/options/optlingu.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
New commits: commit bf4f7732fa8b452efb5b1bfa4583357c06bbff2f Author: Furkan Ahmet Kara <furkanahmetkara...@gmail.com> AuthorDate: Sun Mar 22 23:47:21 2020 +0300 Commit: Muhammet Kara <muhammet.k...@collabora.com> CommitDate: Mon Mar 23 19:27:32 2020 +0100 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.k...@collabora.com> 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) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits