summaryrefslogtreecommitdiff
path: root/svx/source/unogallery/unogaltheme.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-09-05 08:29:58 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-09-06 08:43:33 +0200
commitdccd1633a111ba124f9868a4a51579c95200d745 (patch)
tree221a16d33215ffde2b249c7aca6f8c83981dbec4 /svx/source/unogallery/unogaltheme.cxx
parent9c34471f54870fc685c343f4af30310e75d3a9ca (diff)
loplugin:unnecessaryparen include case statements
Change-Id: I79fb3eec0d5d466e33b2e18621a7169695edf82f Reviewed-on: https://gerrit.libreoffice.org/41920 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
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 4b23a33e025f..f035bc174b22 100644
--- a/svx/source/unogallery/unogaltheme.cxx
+++ b/svx/source/unogallery/unogaltheme.cxx
@@ -304,7 +304,7 @@ void GalleryTheme::Notify( SfxBroadcaster&, const SfxHint& rHint )
switch( rGalleryHint.GetType() )
{
- case( GalleryHintType::CLOSE_THEME ):
+ case GalleryHintType::CLOSE_THEME:
{
DBG_ASSERT( !mpTheme || mpGallery, "Theme is living without Gallery" );
@@ -318,7 +318,7 @@ void GalleryTheme::Notify( SfxBroadcaster&, const SfxHint& rHint )
}
break;
- case( GalleryHintType::CLOSE_OBJECT ):
+ case GalleryHintType::CLOSE_OBJECT:
{
GalleryObject* pObj = reinterpret_cast< GalleryObject* >( rGalleryHint.GetData1() );