summaryrefslogtreecommitdiff
path: root/sfx2/source/statbar
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-28 15:44:10 +0200
committerNoel Grandin <noel@peralex.com>2015-05-29 08:48:41 +0200
commit6140ca9f1d728475e332f9fa96ee62dda58687ea (patch)
tree284733762d73048939675ca39a8932a3ca2009f5 /sfx2/source/statbar
parentafcf1ecee1af1312551583b9fc860c1881ba2134 (diff)
loplugin:loopvartoosmall
Change-Id: Icb31e51575f7fffd36be73bbd87a3c5e56c3aa26
Diffstat (limited to 'sfx2/source/statbar')
-rw-r--r--sfx2/source/statbar/stbitem.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/statbar/stbitem.cxx b/sfx2/source/statbar/stbitem.cxx
index c0ded64c7da3..d3dea7c7fe7d 100644
--- a/sfx2/source/statbar/stbitem.cxx
+++ b/sfx2/source/statbar/stbitem.cxx
@@ -613,7 +613,7 @@ SfxStatusBarControl* SfxStatusBarControl::CreateControl
if ( pFactories )
{
SfxStbCtrlFactArr_Impl &rFactories = *pFactories;
- for ( sal_uInt16 nFactory = 0; nFactory < rFactories.size(); ++nFactory )
+ for ( size_t nFactory = 0; nFactory < rFactories.size(); ++nFactory )
if ( rFactories[nFactory].nTypeId == aSlotType &&
( ( rFactories[nFactory].nSlotId == 0 ) ||
( rFactories[nFactory].nSlotId == nSlotID) ) )
@@ -622,7 +622,7 @@ SfxStatusBarControl* SfxStatusBarControl::CreateControl
}
SfxStbCtrlFactArr_Impl &rFactories = pApp->GetStbCtrlFactories_Impl();
- for ( sal_uInt16 nFactory = 0; nFactory < rFactories.size(); ++nFactory )
+ for ( size_t nFactory = 0; nFactory < rFactories.size(); ++nFactory )
if ( rFactories[nFactory].nTypeId == aSlotType &&
( ( rFactories[nFactory].nSlotId == 0 ) ||
( rFactories[nFactory].nSlotId == nSlotID) ) )