diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-03-28 12:14:37 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-03-28 12:14:53 +0100 |
commit | d7f3b1effb63aab91d993209784ef5678752fea8 (patch) | |
tree | c80c3214b9c0c5a62445839cbfa00856c2f4cdbe /chart2 | |
parent | 01cc916fa45081bfb99933ca8f56d7e444a1ae82 (diff) |
chart::Wall is not a UNO service implementation
Change-Id: I6a5482f4d49e47d1a6289a29d1b573e25fa0b5c5
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/model/main/Wall.cxx | 13 | ||||
-rw-r--r-- | chart2/source/model/main/Wall.hxx | 14 |
2 files changed, 0 insertions, 27 deletions
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() |