[Libreoffice-commits] core.git: svx/source

Yusuf Keten (via logerrit) logerrit at kemper.freedesktop.org
Wed Jan 1 06:40:47 UTC 2020


 svx/source/gallery2/galbrws1.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b5b68303b17e88163ec6fc946c7908492b554498
Author:     Yusuf Keten <ketenyusuf at gmail.com>
AuthorDate: Tue Dec 31 21:19:05 2019 +0300
Commit:     Mike Kaganski <mike.kaganski at collabora.com>
CommitDate: Wed Jan 1 07:40:17 2020 +0100

    tdf#75280 Convert inappropriate use of sal_uIntPtr to better integer types
    
    Change-Id: I5a1bbbc677f41fec342484b5244a32ce3a624bd8
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86049
    Tested-by: Jenkins
    Reviewed-by: Mike Kaganski <mike.kaganski at collabora.com>

diff --git a/svx/source/gallery2/galbrws1.cxx b/svx/source/gallery2/galbrws1.cxx
index 796586ebb995..8a435a5c31df 100644
--- a/svx/source/gallery2/galbrws1.cxx
+++ b/svx/source/gallery2/galbrws1.cxx
@@ -135,7 +135,7 @@ GalleryBrowser1::GalleryBrowser1(
     mpThemes->SetSelectHdl( LINK( this, GalleryBrowser1, SelectThemeHdl ) );
     mpThemes->SetAccessibleName(SvxResId(RID_SVXSTR_GALLERYPROPS_GALTHEME));
 
-    for( sal_uInt64 i = 0, nCount = mpGallery->GetThemeCount(); i < nCount; i++ )
+    for( size_t i = 0, nCount = mpGallery->GetThemeCount(); i < nCount; i++ )
         ImplInsertThemeEntry( mpGallery->GetThemeInfo( i ) );
 
     ImplAdjustControls();


More information about the Libreoffice-commits mailing list