From 0f0f585e7822888ffc60bb0172cdd92e80e8a991 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 14 Dec 2017 10:40:45 +0200 Subject: sal_uIntPtr->sal_uInt32 in GalleryTransferable to match the underlying field Change-Id: I96bee1b19fb33e00bb09617a458f741654beb7f3 Reviewed-on: https://gerrit.libreoffice.org/46479 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/svx/galmisc.hxx | 2 +- svx/source/gallery2/galmisc.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/svx/galmisc.hxx b/include/svx/galmisc.hxx index f0823ae6553a..62ad8c65b1f6 100644 --- a/include/svx/galmisc.hxx +++ b/include/svx/galmisc.hxx @@ -147,7 +147,7 @@ using TransferableHelper::CopyToClipboard; ImageMap* mpImageMap; INetURLObject* mpURL; - GalleryTransferable( GalleryTheme* pTheme, sal_uIntPtr nObjectPos, bool bLazy ); + GalleryTransferable( GalleryTheme* pTheme, sal_uInt32 nObjectPos, bool bLazy ); virtual ~GalleryTransferable() override; void InitData( bool bLazy ); diff --git a/svx/source/gallery2/galmisc.cxx b/svx/source/gallery2/galmisc.cxx index 7e5c291d3491..2cd6376557c0 100644 --- a/svx/source/gallery2/galmisc.cxx +++ b/svx/source/gallery2/galmisc.cxx @@ -377,7 +377,7 @@ void GalleryProgress::Update( sal_Int32 nVal, sal_Int32 nMaxVal ) } -GalleryTransferable::GalleryTransferable( GalleryTheme* pTheme, sal_uIntPtr nObjectPos, bool bLazy ) : +GalleryTransferable::GalleryTransferable( GalleryTheme* pTheme, sal_uInt32 nObjectPos, bool bLazy ) : mpTheme( pTheme ), meObjectKind( mpTheme->GetObjectKind( nObjectPos ) ), mnObjectPos( nObjectPos ), -- cgit