diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-07-08 11:12:02 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-07-08 12:54:09 +0200 |
commit | f7e4a52411255b61e8fcc4172e67c9f86cf25e36 (patch) | |
tree | 0bbc61e6f862689a3d762b052f0725e7fcfe3c52 /svx/source | |
parent | ed920b71b846a25472bc290e1613b0b6dd76f5f4 (diff) |
fix loop variable type
it's not a std::vector<Bitmap>, it's a std::vector<BitmapEx>
Change-Id: I4a315f98bab4c432d6b136cb7bad75cf29899e66
Reviewed-on: https://gerrit.libreoffice.org/75200
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/tbxctrls/fontworkgallery.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/tbxctrls/fontworkgallery.cxx b/svx/source/tbxctrls/fontworkgallery.cxx index aa832961b0b8..7d9c5b974438 100644 --- a/svx/source/tbxctrls/fontworkgallery.cxx +++ b/svx/source/tbxctrls/fontworkgallery.cxx @@ -146,7 +146,7 @@ void FontWorkGalleryDialog::fillFavorites(sal_uInt16 nThemeId) aThumbSize.AdjustWidth( -12 ); aThumbSize.AdjustHeight( -12 ); - std::vector< Bitmap * >::size_type nFavCount = maFavoritesHorizontal.size(); + auto nFavCount = maFavoritesHorizontal.size(); // ValueSet favorites if( nFavCount > (nColCount * nLineCount) ) @@ -158,7 +158,7 @@ void FontWorkGalleryDialog::fillFavorites(sal_uInt16 nThemeId) maCtlFavorites.Clear(); - for( std::vector<Bitmap *>::size_type nFavorite = 1; nFavorite <= nFavCount; nFavorite++ ) + for( size_t nFavorite = 1; nFavorite <= nFavCount; nFavorite++ ) { OUString aStr(SvxResId(RID_SVXFLOAT3D_FAVORITE)); aStr += " "; |