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/docvw/romenu.cxx | |
parent | 20bb2e707481135440b2c905fb234c5ba54d5041 (diff) |
loplugin: loopvartoosmall
Change-Id: Icb30dac9cdcba493752623ccafff5f06ccafc31f
Diffstat (limited to 'sw/source/uibase/docvw/romenu.cxx')
-rw-r--r-- | sw/source/uibase/docvw/romenu.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/docvw/romenu.cxx b/sw/source/uibase/docvw/romenu.cxx index 77c0adc07063..f53e3eae52f5 100644 --- a/sw/source/uibase/docvw/romenu.cxx +++ b/sw/source/uibase/docvw/romenu.cxx @@ -138,7 +138,7 @@ SwReadOnlyPopup::SwReadOnlyPopup( const Point &rDPos, SwView &rV ) : pMenu->CheckItem( MN_READONLY_TOGALLERYLINK, bGrfToGalleryAsLnk ); pMenu->CheckItem( MN_READONLY_TOGALLERYCOPY, !bGrfToGalleryAsLnk ); - for ( sal_uInt16 i=0; i < aThemeList.size(); ++i ) + for ( size_t i=0; i < aThemeList.size(); ++i ) pMenu->InsertItem( MN_READONLY_GRAPHICTOGALLERY+i + 3, aThemeList[ i ] ); } else @@ -169,7 +169,7 @@ SwReadOnlyPopup::SwReadOnlyPopup( const Point &rDPos, SwView &rV ) : pMenu->CheckItem( MN_READONLY_TOGALLERYCOPY, !bGrfToGalleryAsLnk ); bEnableBackGallery = true; - for ( sal_uInt16 i=0; i < aThemeList.size(); ++i ) + for ( size_t i=0; i < aThemeList.size(); ++i ) pMenu->InsertItem( MN_READONLY_GRAPHICTOGALLERY+i + 3, aThemeList[ i ] ); } } |