summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAshod Nakashian <ashod.nakashian@collabora.co.uk>2018-08-04 23:38:44 -0400
committerJan Holesovsky <kendy@collabora.com>2019-06-06 09:55:27 +0200
commit7665246ac8addc002f74e3a9b22d1baeda448af3 (patch)
tree3ff2efdfb6d05aadc0c1eee2a0306ecad60bc05e /include
parentd8b0774eb1cd665c4e93595d37b2b33025fb0840 (diff)
ViewShellBase const correctness
Change-Id: I00bffe23f2f850f5e0cbf63a60aa1600f848edac (cherry picked from commit 4e6e33870a60a796c17c1e2d67ac6482b853ad28) Reviewed-on: https://gerrit.libreoffice.org/73479 Tested-by: Jenkins Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/viewsh.hxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/sfx2/viewsh.hxx b/include/sfx2/viewsh.hxx
index e0240ae952b4..cc76aefd6a5c 100644
--- a/include/sfx2/viewsh.hxx
+++ b/include/sfx2/viewsh.hxx
@@ -274,8 +274,7 @@ public:
void SetNewWindowAllowed( bool bSet ) { bNoNewWindow = !bSet; }
void SetController( SfxBaseController* pController );
- css::uno::Reference< css::frame::XController >
- GetController();
+ css::uno::Reference<css::frame::XController> GetController() const;
bool TryContextMenuInterception( Menu& rIn, const OUString& rMenuIdentifier, VclPtr<Menu>& rpOut, css::ui::ContextMenuExecuteEvent aEvent );
bool TryContextMenuInterception( Menu& rMenu, const OUString& rMenuIdentifier, css::ui::ContextMenuExecuteEvent aEvent );