diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-04-04 21:03:20 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-04-04 21:04:10 +0100 |
commit | 4ecab66a6243e3675c89f925a0856e8e36723ca0 (patch) | |
tree | 9bcb53039dcd42e6c0630851f30544d002585261 /chart2 | |
parent | ee4317e4cf84b67f9afdba692590c367c1c63a70 (diff) |
ShapeToolbarController::create is unused
Change-Id: Ie7612e4599699977ddca1f581eafd6aca4003f5d
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/controller/main/ShapeToolbarController.cxx | 5 | ||||
-rw-r--r-- | chart2/source/controller/main/ShapeToolbarController.hxx | 2 |
2 files changed, 0 insertions, 7 deletions
diff --git a/chart2/source/controller/main/ShapeToolbarController.cxx b/chart2/source/controller/main/ShapeToolbarController.cxx index 63231e99fe6a..46c7cda65740 100644 --- a/chart2/source/controller/main/ShapeToolbarController.cxx +++ b/chart2/source/controller/main/ShapeToolbarController.cxx @@ -63,11 +63,6 @@ Sequence< OUString > ShapeToolbarController::getSupportedServiceNames() throw (u return getSupportedServiceNames_Static(); } -Reference< uno::XInterface > ShapeToolbarController::create( const Reference< uno::XComponentContext >& xContext ) -{ - return * new ShapeToolbarController( xContext ); -} - ShapeToolbarController::ShapeToolbarController( const Reference< uno::XComponentContext >& xContext ) :m_pToolbarController( NULL ) ,m_nToolBoxId( 1 ) diff --git a/chart2/source/controller/main/ShapeToolbarController.hxx b/chart2/source/controller/main/ShapeToolbarController.hxx index f777dcbcb0d5..73b98c748ee2 100644 --- a/chart2/source/controller/main/ShapeToolbarController.hxx +++ b/chart2/source/controller/main/ShapeToolbarController.hxx @@ -68,8 +68,6 @@ public: // needed by registration static OUString getImplementationName_Static() throw( ::com::sun::star::uno::RuntimeException ); static ::com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_Static(void) throw(::com::sun::star::uno::RuntimeException); - static ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL - create( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext ); virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; // ::com::sun::star::lang::XInitialization |