diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-08 16:33:17 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-04-11 08:21:18 +0200 |
commit | 4cbcec9ed4c51277b00c155a5fa097880c0dee4b (patch) | |
tree | 7ae7630e51f37d0d60bae4640b4dcd047eaaee29 /include/sfx2/sidebar/SidebarController.hxx | |
parent | f3a43c723eaf751d5ee28b13c0cc6f8014094bbe (diff) |
clang-tidy performance-unnecessary-value-param in sfx2
Change-Id: I035eec1f3701c48b9a85c60400c68f9365299b48
Diffstat (limited to 'include/sfx2/sidebar/SidebarController.hxx')
-rw-r--r-- | include/sfx2/sidebar/SidebarController.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/sfx2/sidebar/SidebarController.hxx b/include/sfx2/sidebar/SidebarController.hxx index 00f0bab35d05..c968feced170 100644 --- a/include/sfx2/sidebar/SidebarController.hxx +++ b/include/sfx2/sidebar/SidebarController.hxx @@ -85,9 +85,9 @@ public: static SidebarController* GetSidebarControllerForFrame ( const css::uno::Reference<css::frame::XFrame>& rxFrame); - static void registerSidebarForFrame(SidebarController* pController, css::uno::Reference<css::frame::XController> xFrame); + static void registerSidebarForFrame(SidebarController* pController, const css::uno::Reference<css::frame::XController>& xFrame); - static void unregisterSidebarForFrame(SidebarController* pController, css::uno::Reference<css::frame::XController> xFrame); + static void unregisterSidebarForFrame(SidebarController* pController, const css::uno::Reference<css::frame::XController>& xFrame); // ui::XContextChangeEventListener virtual void SAL_CALL notifyContextChangeEvent (const css::ui::ContextChangeEventObject& rEvent) @@ -159,7 +159,7 @@ public: void notifyDeckTitle(const OUString& targetDeckId); - void updateModel(css::uno::Reference<css::frame::XModel> xModel); + void updateModel(const css::uno::Reference<css::frame::XModel>& xModel); void disposeDecks(); @@ -228,7 +228,7 @@ private: vcl::Window* pParentWindow, const bool bIsInitiallyExpanded, const Context& rContext, - VclPtr<Deck> pDeck); + const VclPtr<Deck>& pDeck); void SwitchToDeck ( const DeckDescriptor& rDeckDescriptor, |