diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-13 11:29:05 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-04-13 13:27:52 +0200 |
commit | 523036daaddf466eee46183bbec9a71d45c48a41 (patch) | |
tree | 21582b9f2ac1b8714233d7cb4d4c1aba17a15c3e /include/sfx2/sidebar/SidebarController.hxx | |
parent | 746289bf97ee6eeaf8a1df6b040dd9ae29bab0ce (diff) |
loplugin:passstuffbyref in sfx2
Change-Id: I8c9d6e972f74ee04c8befda3b4cabb6e9b6b2054
Diffstat (limited to 'include/sfx2/sidebar/SidebarController.hxx')
-rw-r--r-- | include/sfx2/sidebar/SidebarController.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sfx2/sidebar/SidebarController.hxx b/include/sfx2/sidebar/SidebarController.hxx index c968feced170..6c65867b2a76 100644 --- a/include/sfx2/sidebar/SidebarController.hxx +++ b/include/sfx2/sidebar/SidebarController.hxx @@ -145,7 +145,7 @@ public: // std::unique_ptr<ResourceManager> GetResourceManager() { return mpResourceManager;} - Context GetCurrentContext() const { return maCurrentContext;} + const Context& GetCurrentContext() const { return maCurrentContext;} bool IsDocumentReadOnly (void) const { return mbIsDocumentReadOnly;} void SwitchToDeck ( const ::rtl::OUString& rsDeckId); |