summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-12-14 10:40:45 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-12-15 07:15:20 +0100
commit0f0f585e7822888ffc60bb0172cdd92e80e8a991 (patch)
treef1310188cb8fafe259508cf8fe92138e69ca2a0f
parenteab5da91c74e16c9eec4e32fe19686b246902617 (diff)
sal_uIntPtr->sal_uInt32 in GalleryTransferable
to match the underlying field Change-Id: I96bee1b19fb33e00bb09617a458f741654beb7f3 Reviewed-on: https://gerrit.libreoffice.org/46479 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r--include/svx/galmisc.hxx2
-rw-r--r--svx/source/gallery2/galmisc.cxx2
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 ),