diff options
author | Noel Grandin <noel@peralex.com> | 2015-12-21 14:05:52 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-12-22 09:53:26 +0200 |
commit | 9570bdfcb9ffb59e0dd4a838295b0800b526fc8b (patch) | |
tree | 41f90096cf8b17205dc3317ab06167dc828c7e23 /sd/source/ui/framework | |
parent | 0b1da98da44bc9acb9e42a5cd1842adf9d82a415 (diff) |
loplugin:unusedfields in sd
Change-Id: I59a127dace4a1818dfb2ccd6a7b673d39a9c5c60
Diffstat (limited to 'sd/source/ui/framework')
6 files changed, 2 insertions, 12 deletions
diff --git a/sd/source/ui/framework/configuration/ChangeRequestQueueProcessor.cxx b/sd/source/ui/framework/configuration/ChangeRequestQueueProcessor.cxx index 9ea1ddd30c94..74b2e571450a 100644 --- a/sd/source/ui/framework/configuration/ChangeRequestQueueProcessor.cxx +++ b/sd/source/ui/framework/configuration/ChangeRequestQueueProcessor.cxx @@ -51,13 +51,11 @@ void TraceRequest (const Reference<XConfigurationChangeRequest>& rxRequest) namespace sd { namespace framework { ChangeRequestQueueProcessor::ChangeRequestQueueProcessor ( - const ::rtl::Reference<ConfigurationController>& rpConfigurationController, const std::shared_ptr<ConfigurationUpdater>& rpConfigurationUpdater) : maMutex(), maQueue(), mnUserEventId(nullptr), mxConfiguration(), - mpConfigurationController(rpConfigurationController), mpConfigurationUpdater(rpConfigurationUpdater) { } diff --git a/sd/source/ui/framework/configuration/ChangeRequestQueueProcessor.hxx b/sd/source/ui/framework/configuration/ChangeRequestQueueProcessor.hxx index a232dc7b3033..214efb528d2a 100644 --- a/sd/source/ui/framework/configuration/ChangeRequestQueueProcessor.hxx +++ b/sd/source/ui/framework/configuration/ChangeRequestQueueProcessor.hxx @@ -55,7 +55,6 @@ public: be called when the queue becomes empty. */ ChangeRequestQueueProcessor ( - const ::rtl::Reference<ConfigurationController>& rxController, const std::shared_ptr<ConfigurationUpdater>& rpUpdater); ~ChangeRequestQueueProcessor(); @@ -107,8 +106,6 @@ private: css::uno::Reference<css::drawing::framework::XConfiguration> mxConfiguration; - ::rtl::Reference<ConfigurationController> mpConfigurationController; - std::shared_ptr<ConfigurationUpdater> mpConfigurationUpdater; /** Initiate the processing of the entries in the queue. The actual diff --git a/sd/source/ui/framework/configuration/ConfigurationController.cxx b/sd/source/ui/framework/configuration/ConfigurationController.cxx index 9bdb6bbfed6f..11166529e00d 100644 --- a/sd/source/ui/framework/configuration/ConfigurationController.cxx +++ b/sd/source/ui/framework/configuration/ConfigurationController.cxx @@ -553,7 +553,7 @@ ConfigurationController::Implementation::Implementation ( new ConfigurationControllerResourceManager(mpResourceFactoryContainer,mpBroadcaster)), mpConfigurationUpdater( new ConfigurationUpdater(mpBroadcaster, mpResourceManager,mxControllerManager)), - mpQueueProcessor(new ChangeRequestQueueProcessor(&rController,mpConfigurationUpdater)), + mpQueueProcessor(new ChangeRequestQueueProcessor(mpConfigurationUpdater)), mpConfigurationUpdaterLock(), mnLockCount(0) { diff --git a/sd/source/ui/framework/factories/ChildWindowPane.hxx b/sd/source/ui/framework/factories/ChildWindowPane.hxx index e90d184d3d9d..8c614556595b 100644 --- a/sd/source/ui/framework/factories/ChildWindowPane.hxx +++ b/sd/source/ui/framework/factories/ChildWindowPane.hxx @@ -90,7 +90,6 @@ public: throw (css::uno::RuntimeException, std::exception) override; private: - css::uno::Reference<css::drawing::framework::XResourceId> mxPaneId; sal_uInt16 mnChildWindowId; ViewShellBase& mrViewShellBase; ::std::unique_ptr<SfxShell> mpShell; diff --git a/sd/source/ui/framework/module/ToolPanelModule.cxx b/sd/source/ui/framework/module/ToolPanelModule.cxx index 617a293862e6..0630163be692 100644 --- a/sd/source/ui/framework/module/ToolPanelModule.cxx +++ b/sd/source/ui/framework/module/ToolPanelModule.cxx @@ -41,8 +41,7 @@ ToolPanelModule::ToolPanelModule ( const Reference<frame::XController>& rxController, const OUString& rsSidebarPaneURL) : ResourceManager(rxController, - FrameworkHelper::CreateResourceId(FrameworkHelper::msSidebarViewURL, rsSidebarPaneURL)), - mxControllerManager(rxController,UNO_QUERY) + FrameworkHelper::CreateResourceId(FrameworkHelper::msSidebarViewURL, rsSidebarPaneURL)) { if (mxConfigurationController.is()) { diff --git a/sd/source/ui/framework/module/ToolPanelModule.hxx b/sd/source/ui/framework/module/ToolPanelModule.hxx index 20234997116e..3ad688f3c32a 100644 --- a/sd/source/ui/framework/module/ToolPanelModule.hxx +++ b/sd/source/ui/framework/module/ToolPanelModule.hxx @@ -44,9 +44,6 @@ public: virtual void SAL_CALL notifyConfigurationChange ( const css::drawing::framework::ConfigurationChangeEvent& rEvent) throw (css::uno::RuntimeException, std::exception) override; - -private: - css::uno::Reference<css::drawing::framework::XControllerManager> mxControllerManager; }; } } // end of namespace sd::framework |