diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-28 16:48:15 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-05-29 08:48:41 +0200 |
commit | 49ea2258d482950ad3af16f9c8ac4fef7f192fc0 (patch) | |
tree | 4910b89f264f47c378fa7540705ca84f50d91919 /cui/source/dialogs/showcols.cxx | |
parent | e0b2e6e3f767240016133dd2d55e0bfb9192ca39 (diff) |
loplugin:loopvartoosmall
Change-Id: I5518e40a30bdad53470cc52b59eff04ab6d873d4
Diffstat (limited to 'cui/source/dialogs/showcols.cxx')
-rw-r--r-- | cui/source/dialogs/showcols.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/dialogs/showcols.cxx b/cui/source/dialogs/showcols.cxx index 4c86ac4da191..79bdda9387bd 100644 --- a/cui/source/dialogs/showcols.cxx +++ b/cui/source/dialogs/showcols.cxx @@ -57,7 +57,7 @@ IMPL_LINK_NOARG(FmShowColsDialog, OnClickedOk) if (m_xColumns.is()) { ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > xCol; - for (sal_uInt16 i=0; i < m_pList->GetSelectEntryCount(); ++i) + for (sal_Int32 i=0; i < m_pList->GetSelectEntryCount(); ++i) { m_xColumns->getByIndex(sal::static_int_cast<sal_Int32>(reinterpret_cast<sal_uIntPtr>(m_pList->GetEntryData(m_pList->GetSelectEntryPos(i))))) >>= xCol; if (xCol.is()) @@ -90,7 +90,7 @@ void FmShowColsDialog::SetColumns(const ::com::sun::star::uno::Reference< ::com: ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet> xCurCol; OUString sCurName; - for (sal_uInt16 i=0; i<xCols->getCount(); ++i) + for (sal_Int32 i=0; i<xCols->getCount(); ++i) { sCurName.clear(); xCurCol.set(xCols->getByIndex(i), css::uno::UNO_QUERY); |