summaryrefslogtreecommitdiff
path: root/sfx2/source/statbar
diff options
context:
space:
mode:
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) ) )