diff options
Diffstat (limited to 'chart2/source/model/main/PageBackground.cxx')
-rw-r--r-- | chart2/source/model/main/PageBackground.cxx | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/chart2/source/model/main/PageBackground.cxx b/chart2/source/model/main/PageBackground.cxx index d9eea37794d3..e2c766102626 100644 --- a/chart2/source/model/main/PageBackground.cxx +++ b/chart2/source/model/main/PageBackground.cxx @@ -28,6 +28,7 @@ #include <com/sun/star/drawing/LineStyle.hpp> #include <rtl/uuid.h> #include <cppuhelper/queryinterface.hxx> +#include <cppuhelper/supportsservice.hxx> #include <vector> #include <algorithm> @@ -223,7 +224,28 @@ uno::Sequence< OUString > PageBackground::getSupportedServiceNames_Static() } // implement XServiceInfo methods basing upon getSupportedServiceNames_Static -APPHELPER_XSERVICEINFO_IMPL( PageBackground, OUString(lcl_aServiceName) ); +OUString SAL_CALL PageBackground::getImplementationName() + throw( css::uno::RuntimeException, std::exception ) +{ + return getImplementationName_Static(); +} + +OUString PageBackground::getImplementationName_Static() +{ + return OUString(lcl_aServiceName); +} + +sal_Bool SAL_CALL PageBackground::supportsService( const OUString& rServiceName ) + throw( css::uno::RuntimeException, std::exception ) +{ + return cppu::supportsService(this, rServiceName); +} + +css::uno::Sequence< OUString > SAL_CALL PageBackground::getSupportedServiceNames() + throw( css::uno::RuntimeException, std::exception ) +{ + return getSupportedServiceNames_Static(); +} using impl::PageBackground_Base; |