summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAshod Nakashian <ashod.nakashian@collabora.co.uk>2018-08-04 23:38:44 -0400
committerAndras Timar <andras.timar@collabora.com>2019-09-03 13:36:37 +0200
commite204fcf3e2e675de4c429b8453cb4a9abcb46dd9 (patch)
tree86ab93e1f6a7a019b769bcbe91fe1686601df173 /include
parentcbff1b6f6d71ab721eb8dff1638cb441ac367959 (diff)
ViewShellBase const correctness
Change-Id: I00bffe23f2f850f5e0cbf63a60aa1600f848edac (cherry picked from commit 4e6e33870a60a796c17c1e2d67ac6482b853ad28) (cherry picked from commit e1143d75eea07bdcd1e13d99a6015c1fc32bfb60) Reviewed-on: https://gerrit.libreoffice.org/78432 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@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 cb185bb7b058..0f6915d8a9c0 100644
--- a/include/sfx2/viewsh.hxx
+++ b/include/sfx2/viewsh.hxx
@@ -281,8 +281,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 );