From d7f3b1effb63aab91d993209784ef5678752fea8 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 28 Mar 2014 12:14:37 +0100 Subject: chart::Wall is not a UNO service implementation Change-Id: I6a5482f4d49e47d1a6289a29d1b573e25fa0b5c5 --- chart2/source/model/main/Wall.cxx | 13 ------------- chart2/source/model/main/Wall.hxx | 14 -------------- 2 files changed, 27 deletions(-) (limited to 'chart2') diff --git a/chart2/source/model/main/Wall.cxx b/chart2/source/model/main/Wall.cxx index 9b76ea85a3e4..d7eeeb2b4c01 100644 --- a/chart2/source/model/main/Wall.cxx +++ b/chart2/source/model/main/Wall.cxx @@ -46,8 +46,6 @@ using ::osl::MutexGuard; namespace { -static const OUString lcl_aServiceName( "com.sun.star.comp.chart2.Wall" ); - struct StaticWallDefaults_Initializer { ::chart::tPropertyValueMap* operator()() @@ -217,17 +215,6 @@ void Wall::fireModifyEvent() m_xModifyEventForwarder->modified( lang::EventObject( static_cast< uno::XWeak* >( this ))); } -uno::Sequence< OUString > Wall::getSupportedServiceNames_Static() -{ - uno::Sequence< OUString > aServices( 2 ); - aServices[ 0 ] = "com.sun.star.chart2.Wall"; - aServices[ 1 ] = "com.sun.star.beans.PropertySet"; - return aServices; -} - -// implement XServiceInfo methods basing upon getSupportedServiceNames_Static -APPHELPER_XSERVICEINFO_IMPL( Wall, lcl_aServiceName ); - using impl::Wall_Base; IMPLEMENT_FORWARD_XINTERFACE2( Wall, Wall_Base, ::property::OPropertySet ) diff --git a/chart2/source/model/main/Wall.hxx b/chart2/source/model/main/Wall.hxx index 18dec3884007..c6a847eda59a 100644 --- a/chart2/source/model/main/Wall.hxx +++ b/chart2/source/model/main/Wall.hxx @@ -52,20 +52,6 @@ public: Wall(); virtual ~Wall(); - //TODO: are these actually used (given they are not SAL_OVERRIDE)? - virtual OUString SAL_CALL - getImplementationName() - throw( ::com::sun::star::uno::RuntimeException, std::exception ); - virtual sal_Bool SAL_CALL - supportsService( const OUString& ServiceName ) - throw( ::com::sun::star::uno::RuntimeException, std::exception ); - virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL - getSupportedServiceNames() - throw( ::com::sun::star::uno::RuntimeException, std::exception ); - static OUString getImplementationName_Static(); - static ::com::sun::star::uno::Sequence< OUString > - getSupportedServiceNames_Static(); - /// merge XInterface implementations DECLARE_XINTERFACE() -- cgit