diff options
Diffstat (limited to 'chart2/source/tools/ConfigColorScheme.cxx')
-rw-r--r-- | chart2/source/tools/ConfigColorScheme.cxx | 13 |
1 files changed, 1 insertions, 12 deletions
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,20 +166,9 @@ 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 |