From 3f7fbae1bc38d528080552a715af187285f47028 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 13 Dec 2017 09:49:31 +0200 Subject: sal_uIntPtr->void* in GalleryHint Change-Id: I50528411bb76d5a204a5e52c4d77a7ecaf7f5ddf Reviewed-on: https://gerrit.libreoffice.org/46390 Tested-by: Jenkins Reviewed-by: Noel Grandin --- svx/source/unogallery/unogaltheme.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svx/source/unogallery') 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 ); -- cgit