diff options
author | Katarina Behrens <Katarina.Behrens@cib.de> | 2015-05-29 23:34:09 +0200 |
---|---|---|
committer | Katarina Behrens <Katarina.Behrens@cib.de> | 2015-06-02 10:47:42 +0200 |
commit | 263b4b99856c81c12707a5e9823d693a594ee305 (patch) | |
tree | 5606e0b36e0a059a267fa4757f31e7e455b27d4e /sw/source/uibase/lingu | |
parent | 20bb2e707481135440b2c905fb234c5ba54d5041 (diff) |
loplugin: loopvartoosmall
Change-Id: Icb30dac9cdcba493752623ccafff5f06ccafc31f
Diffstat (limited to 'sw/source/uibase/lingu')
-rw-r--r-- | sw/source/uibase/lingu/olmenu.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/lingu/olmenu.cxx b/sw/source/uibase/lingu/olmenu.cxx index b74693bb501a..d04ef90da678 100644 --- a/sw/source/uibase/lingu/olmenu.cxx +++ b/sw/source/uibase/lingu/olmenu.cxx @@ -181,7 +181,7 @@ void SwSpellPopup::fillLangPopupMenu( uno::Sequence< lang::Locale > rLocales( xDocumentLanguages->getDocumentLanguages( static_cast<sal_Int16>(nScriptType), nMaxCount ) ); if (rLocales.getLength() > 0) { - for (sal_uInt16 i = 0; i < rLocales.getLength(); ++i) + for (sal_Int32 i = 0; i < rLocales.getLength(); ++i) { if (aLangItems.size() == (size_t)nMaxCount) break; @@ -514,7 +514,7 @@ m_aInfo16( SW_RES(IMG_INFO_16) ) } sal_uInt16 nItemId = MN_SUGGESTION_START; - for (sal_uInt16 i = 0; i < nStringCount; ++i) + for (sal_Int32 i = 0; i < nStringCount; ++i) { const OUString aEntry = m_aSuggestions[ i ]; InsertItem(nItemId, aEntry, MenuItemBits::NONE, OString(), nPos++); |