diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-03-28 11:54:09 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-03-28 11:54:21 +0100 |
commit | 06a4698850a1d9d1d4db703dc42852b0d36f6acd (patch) | |
tree | 29113d8c24c5c0cdeecb85866f6975dde6940e2e | |
parent | 804e3bfc56ad6d42a6b76d9e227dde759befd5d2 (diff) |
chart::impl::StockBar is not a UNO service implementation
Change-Id: I5faa0dd028dcc79d09c47fd53b7804121a062e2e
-rw-r--r-- | chart2/source/model/inc/StockBar.hxx | 14 | ||||
-rw-r--r-- | chart2/source/model/main/StockBar.cxx | 13 |
2 files changed, 0 insertions, 27 deletions
diff --git a/chart2/source/model/inc/StockBar.hxx b/chart2/source/model/inc/StockBar.hxx index 6e8d3d098ea4..65e465a1a85f 100644 --- a/chart2/source/model/inc/StockBar.hxx +++ b/chart2/source/model/inc/StockBar.hxx @@ -50,20 +50,6 @@ public: explicit StockBar( bool bRisingCourse ); virtual ~StockBar(); - //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() diff --git a/chart2/source/model/main/StockBar.cxx b/chart2/source/model/main/StockBar.cxx index 4c2044b6b8f4..de6eae867a13 100644 --- a/chart2/source/model/main/StockBar.cxx +++ b/chart2/source/model/main/StockBar.cxx @@ -41,8 +41,6 @@ using ::osl::MutexGuard; namespace { -static const OUString lcl_aServiceName( "com.sun.star.comp.chart2.StockBar" ); - struct StaticStockBarInfoHelper_Initializer { ::cppu::OPropertyArrayHelper* operator()() @@ -224,17 +222,6 @@ void StockBar::fireModifyEvent() m_xModifyEventForwarder->modified( lang::EventObject( static_cast< uno::XWeak* >( this ))); } -uno::Sequence< OUString > StockBar::getSupportedServiceNames_Static() -{ - uno::Sequence< OUString > aServices( 2 ); - aServices[ 0 ] = "com.sun.star.chart2.StockBar"; - aServices[ 1 ] = "com.sun.star.beans.PropertySet"; - return aServices; -} - -// implement XServiceInfo methods basing upon getSupportedServiceNames_Static -APPHELPER_XSERVICEINFO_IMPL( StockBar, lcl_aServiceName ); - using impl::StockBar_Base; IMPLEMENT_FORWARD_XINTERFACE2( StockBar, StockBar_Base, ::property::OPropertySet ) |