diff options
author | Noel Grandin <noel@peralex.com> | 2015-12-23 09:30:48 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-12-23 09:38:46 +0200 |
commit | c5458af9051c7c3579a381592a14af725691f88c (patch) | |
tree | 8daf61dd8eeb4e7b2fea937929f4b85cf2a5e29d /chart2/source/controller/main/ElementSelector.cxx | |
parent | 395815caa6be493d0831a61ba3de4e7d5ba4ae1d (diff) |
loplugin:unusedfields in chart2
Change-Id: I8203f84ad8b138932c990032e17ea5d2daf384bb
Diffstat (limited to 'chart2/source/controller/main/ElementSelector.cxx')
-rw-r--r-- | chart2/source/controller/main/ElementSelector.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/chart2/source/controller/main/ElementSelector.cxx b/chart2/source/controller/main/ElementSelector.cxx index 4d6e114ee617..772922be0dd7 100644 --- a/chart2/source/controller/main/ElementSelector.cxx +++ b/chart2/source/controller/main/ElementSelector.cxx @@ -271,8 +271,7 @@ Sequence< OUString > ElementSelectorToolbarController::getSupportedServiceNames_ Sequence<OUString> aServices { "com.sun.star.frame.ToolbarController" }; return aServices; } -ElementSelectorToolbarController::ElementSelectorToolbarController( const uno::Reference< uno::XComponentContext > & xContext ) - : m_xCC( xContext ) +ElementSelectorToolbarController::ElementSelectorToolbarController() { } ElementSelectorToolbarController::~ElementSelectorToolbarController() @@ -336,10 +335,10 @@ uno::Reference< awt::XWindow > SAL_CALL ElementSelectorToolbarController::create } // chart2 extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface * SAL_CALL -com_sun_star_comp_chart_ElementSelectorToolbarController_get_implementation(css::uno::XComponentContext *context, +com_sun_star_comp_chart_ElementSelectorToolbarController_get_implementation(css::uno::XComponentContext *, css::uno::Sequence<css::uno::Any> const &) { - return cppu::acquire(new chart::ElementSelectorToolbarController(context)); + return cppu::acquire(new chart::ElementSelectorToolbarController ); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |