summaryrefslogtreecommitdiff
path: root/svx/source/unogallery
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-12-13 09:49:31 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-12-13 20:08:09 +0100
commit3f7fbae1bc38d528080552a715af187285f47028 (patch)
tree78feab9b381f9c961c04d840a435e14cea9dedb9 /svx/source/unogallery
parentac863696a697b8007a7ee525127fb571d84d1b88 (diff)
sal_uIntPtr->void* in GalleryHint
Change-Id: I50528411bb76d5a204a5e52c4d77a7ecaf7f5ddf Reviewed-on: https://gerrit.libreoffice.org/46390 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/unogallery')
-rw-r--r--svx/source/unogallery/unogaltheme.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/unogallery/unogaltheme.cxx b/svx/source/unogallery/unogaltheme.cxx
index 713f6d7f826a..404a9bb897dd 100644
--- a/svx/source/unogallery/unogaltheme.cxx
+++ b/svx/source/unogallery/unogaltheme.cxx
@@ -316,7 +316,7 @@ void GalleryTheme::Notify( SfxBroadcaster&, const SfxHint& rHint )
case GalleryHintType::CLOSE_OBJECT:
{
- GalleryObject* pObj = reinterpret_cast< GalleryObject* >( rGalleryHint.GetData1() );
+ GalleryObject* pObj = static_cast< GalleryObject* >( rGalleryHint.GetData1() );
if( pObj )
implReleaseItems( pObj );