summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/ViewShellBase.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-09-28 14:21:57 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-09-29 08:25:32 +0200
commit1902f1e4c787293559378f3d8cb9c10c369f8ae4 (patch)
tree4af1591b4b1e86d1e23bba2bc3bd82b3ddcb82a7 /sd/source/ui/view/ViewShellBase.cxx
parentd744838991594eebe27acc4c7d9fb4579d654853 (diff)
loplugin:constmethod in sd
Change-Id: I063194abe47d8c1d3d9202bbe4b01d79c36ceda3 Reviewed-on: https://gerrit.libreoffice.org/79790 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/ui/view/ViewShellBase.cxx')
-rw-r--r--sd/source/ui/view/ViewShellBase.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/view/ViewShellBase.cxx b/sd/source/ui/view/ViewShellBase.cxx
index 5da8d9c9219d..89ee4c17138e 100644
--- a/sd/source/ui/view/ViewShellBase.cxx
+++ b/sd/source/ui/view/ViewShellBase.cxx
@@ -147,7 +147,7 @@ public:
void ShowViewTabBar (bool bShow);
void SetUserWantsTabBar(bool inValue);
- bool GetUserWantsTabBar() { return mbUserWantsTabBar; }
+ bool GetUserWantsTabBar() const { return mbUserWantsTabBar; }
/** Common code of ViewShellBase::OuterResizePixel() and
ViewShellBase::InnerResizePixel().
@@ -851,7 +851,7 @@ void ViewShellBase::ShowUIControls (bool bVisible)
Rearrange();
}
-OUString ViewShellBase::GetInitialViewShellType()
+OUString ViewShellBase::GetInitialViewShellType() const
{
OUString sRequestedView (FrameworkHelper::msImpressViewURL);
@@ -910,7 +910,7 @@ OUString ViewShellBase::GetInitialViewShellType()
return sRequestedView;
}
-std::shared_ptr<tools::EventMultiplexer> const & ViewShellBase::GetEventMultiplexer()
+std::shared_ptr<tools::EventMultiplexer> const & ViewShellBase::GetEventMultiplexer() const
{
OSL_ASSERT(mpImpl != nullptr);
OSL_ASSERT(mpImpl->mpEventMultiplexer != nullptr);