summaryrefslogtreecommitdiff
path: root/svx/source/unogallery/unogaltheme.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-22 16:00:43 +0200
committerNoel Grandin <noel@peralex.com>2015-04-29 10:41:38 +0200
commit641f375bec2fb65d64513ab9d74a3e3ca1489925 (patch)
tree287fee3f16c37f45170a0c43949b0f4b2786ad7a /svx/source/unogallery/unogaltheme.cxx
parent445b34fb9a882bd04fb53eb629ea246ce02b21aa (diff)
convert GALLERY_HINT constants to scoped enum
Change-Id: I4e33f2ebfc00d9c5c75ddbb0625aaf7c39802e7f
Diffstat (limited to 'svx/source/unogallery/unogaltheme.cxx')
-rw-r--r--svx/source/unogallery/unogaltheme.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/unogallery/unogaltheme.cxx b/svx/source/unogallery/unogaltheme.cxx
index 677056e1c9a1..991ee29da563 100644
--- a/svx/source/unogallery/unogaltheme.cxx
+++ b/svx/source/unogallery/unogaltheme.cxx
@@ -353,7 +353,7 @@ void GalleryTheme::Notify( SfxBroadcaster&, const SfxHint& rHint )
switch( rGalleryHint.GetType() )
{
- case( GALLERY_HINT_CLOSE_THEME ):
+ case( GalleryHintType::CLOSE_THEME ):
{
DBG_ASSERT( !mpTheme || mpGallery, "Theme is living without Gallery" );
@@ -367,7 +367,7 @@ void GalleryTheme::Notify( SfxBroadcaster&, const SfxHint& rHint )
}
break;
- case( GALLERY_HINT_CLOSE_OBJECT ):
+ case( GalleryHintType::CLOSE_OBJECT ):
{
GalleryObject* pObj = reinterpret_cast< GalleryObject* >( rGalleryHint.GetData1() );