From 22d0d2455f9aa699fac95c450da725c603333132 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 10 Nov 2016 15:06:03 +0200 Subject: loplugin:expandablemethods in chart2 Change-Id: Ie6650628683ec7c67359351eec0e09033f2b50cb Reviewed-on: https://gerrit.libreoffice.org/30750 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- chart2/source/tools/ConfigColorScheme.cxx | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'chart2/source/tools/ConfigColorScheme.cxx') diff --git a/chart2/source/tools/ConfigColorScheme.cxx b/chart2/source/tools/ConfigColorScheme.cxx index 309c05650495..2093878539b0 100644 --- a/chart2/source/tools/ConfigColorScheme.cxx +++ b/chart2/source/tools/ConfigColorScheme.cxx @@ -166,19 +166,8 @@ void ConfigColorScheme::notify( const OUString & rPropertyName ) m_bNeedsUpdate = true; } -Sequence< OUString > ConfigColorScheme::getSupportedServiceNames_Static() -{ - return { "com.sun.star.chart2.ColorScheme" }; -} - -// implement XServiceInfo methods basing upon getSupportedServiceNames_Static OUString SAL_CALL ConfigColorScheme::getImplementationName() throw( css::uno::RuntimeException, std::exception ) -{ - return getImplementationName_Static(); -} - -OUString ConfigColorScheme::getImplementationName_Static() { return OUString("com.sun.star.comp.chart2.ConfigDefaultColorScheme") ; } @@ -192,7 +181,7 @@ sal_Bool SAL_CALL ConfigColorScheme::supportsService( const OUString& rServiceNa css::uno::Sequence< OUString > SAL_CALL ConfigColorScheme::getSupportedServiceNames() throw( css::uno::RuntimeException, std::exception ) { - return getSupportedServiceNames_Static(); + return { "com.sun.star.chart2.ColorScheme" }; } } // namespace chart -- cgit v1.2.3