summaryrefslogtreecommitdiff
path: root/include/sfx2/sidebar/SidebarController.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/sfx2/sidebar/SidebarController.hxx')
-rw-r--r--include/sfx2/sidebar/SidebarController.hxx8
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,