diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-28 16:18:34 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-05-29 08:48:41 +0200 |
commit | e0b2e6e3f767240016133dd2d55e0bfb9192ca39 (patch) | |
tree | 16373b19bd514dfad5fa4f3eea128ed801e5b726 /svx/source/fmcomp/fmgridcl.cxx | |
parent | 6140ca9f1d728475e332f9fa96ee62dda58687ea (diff) |
loplugin:loopvartoosmall
Change-Id: Icbe68b31d4ab04ca3cd9f572e3598413946a75c7
Diffstat (limited to 'svx/source/fmcomp/fmgridcl.cxx')
-rw-r--r-- | svx/source/fmcomp/fmgridcl.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/fmcomp/fmgridcl.cxx b/svx/source/fmcomp/fmgridcl.cxx index 413bae057c39..95f466d27f50 100644 --- a/svx/source/fmcomp/fmgridcl.cxx +++ b/svx/source/fmcomp/fmgridcl.cxx @@ -724,7 +724,7 @@ void FmGridHeader::PreExecuteColumnContextMenu(sal_uInt16 nColId, PopupMenu& rMe // check for hidden cols Reference< ::com::sun::star::beans::XPropertySet > xCurCol; Any aHidden,aName; - for (sal_uInt16 i=0; i<xCols->getCount(); ++i) + for (sal_Int32 i=0; i<xCols->getCount(); ++i) { xCurCol.set(xCols->getByIndex(i), css::uno::UNO_QUERY); DBG_ASSERT(xCurCol.is(), "FmGridHeader::PreExecuteColumnContextMenu : the Peer has invalid columns !"); @@ -879,7 +879,7 @@ void FmGridHeader::PostExecuteColumnContextMenu(sal_uInt16 nColId, const PopupMe { // just iterate through all the cols ... Reference< ::com::sun::star::beans::XPropertySet > xCurCol; - for (sal_uInt16 i=0; i<xCols->getCount(); ++i) + for (sal_Int32 i=0; i<xCols->getCount(); ++i) { xCurCol.set(xCols->getByIndex(i), css::uno::UNO_QUERY); xCurCol->setPropertyValue(FM_PROP_HIDDEN, makeAny(false)); @@ -1097,7 +1097,7 @@ void FmGridControl::SetDesignMode(bool bMode) if (aSelection.getValueType().getTypeClass() == TypeClass_INTERFACE) xColumn.set(aSelection, css::uno::UNO_QUERY); Reference< XInterface > xCurrent; - for (sal_uInt16 i=0; i<xColumns->getCount(); ++i) + for (sal_Int32 i=0; i<xColumns->getCount(); ++i) { xCurrent.set(xColumns->getByIndex(i), css::uno::UNO_QUERY); if (xCurrent == xColumn) |