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 | |
parent | ee4317e4cf84b67f9afdba692590c367c1c63a70 (diff) |
ShapeToolbarController::create is unused
Change-Id: Ie7612e4599699977ddca1f581eafd6aca4003f5d
-rw-r--r-- | chart2/source/controller/main/ShapeToolbarController.cxx | 5 | ||||
-rw-r--r-- | chart2/source/controller/main/ShapeToolbarController.hxx | 2 | ||||
-rw-r--r-- | unusedcode.easy | 1 |
3 files changed, 0 insertions, 8 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 diff --git a/unusedcode.easy b/unusedcode.easy index e88e695a873b..8e82437f002a 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -166,7 +166,6 @@ apitest::XTextContent::testGetAnchor() apitest::XTextField::testGetPresentation() basegfx::tools::containsOnlyHorizontalAndVerticalEdges(basegfx::B2DPolyPolygon const&) canvas::createSurfaceProxyManager(boost::shared_ptr<canvas::IRenderModule> const&) -chart::ShapeToolbarController::create(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&) comphelper::OAccessibleImplementationAccess::setStateBit(short, bool) comphelper::detail::ConfigurationWrapper::getGroupReadWrite(std::shared_ptr<comphelper::ConfigurationChanges> const&, rtl::OUString const&) comphelper::detail::ConfigurationWrapper::getLocalizedPropertyValue(rtl::OUString const&) const |