summaryrefslogtreecommitdiff
path: root/svx/source/unogallery/unogaltheme.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-10-26 14:59:38 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-27 06:09:29 +0000
commit883172375dbf5c0a79cbda5b615ff26ed27c78be (patch)
tree5d81ab1b28e7509a26148b602fd14f8c5c83642f /svx/source/unogallery/unogaltheme.cxx
parenta7ea18ffe715776cb0e2b39e98569c75605ee332 (diff)
loplugin:expandablemethods in svx
Change-Id: I0d193ddf07cc0ddc89b6ce2df6eb71d44e49b631 Reviewed-on: https://gerrit.libreoffice.org/30295 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.cxx18
1 files changed, 2 insertions, 16 deletions
diff --git a/svx/source/unogallery/unogaltheme.cxx b/svx/source/unogallery/unogaltheme.cxx
index 325721d0ed43..4cee8ce8ea20 100644
--- a/svx/source/unogallery/unogaltheme.cxx
+++ b/svx/source/unogallery/unogaltheme.cxx
@@ -67,24 +67,10 @@ GalleryTheme::~GalleryTheme()
}
-OUString GalleryTheme::getImplementationName_Static()
- throw()
-{
- return OUString( "com.sun.star.comp.gallery.GalleryTheme" );
-}
-
-
-uno::Sequence< OUString > GalleryTheme::getSupportedServiceNames_Static()
- throw()
-{
- uno::Sequence< OUString > aSeq { "com.sun.star.gallery.GalleryTheme" };
- return aSeq;
-}
-
OUString SAL_CALL GalleryTheme::getImplementationName()
throw( uno::RuntimeException, std::exception )
{
- return getImplementationName_Static();
+ return OUString( "com.sun.star.comp.gallery.GalleryTheme" );
}
sal_Bool SAL_CALL GalleryTheme::supportsService( const OUString& ServiceName )
@@ -96,7 +82,7 @@ sal_Bool SAL_CALL GalleryTheme::supportsService( const OUString& ServiceName )
uno::Sequence< OUString > SAL_CALL GalleryTheme::getSupportedServiceNames()
throw( uno::RuntimeException, std::exception )
{
- return getSupportedServiceNames_Static();
+ return { "com.sun.star.gallery.GalleryTheme" };
}
uno::Sequence< uno::Type > SAL_CALL GalleryTheme::getTypes()