summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/viewdata.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-09-25 13:31:52 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-09-26 10:15:00 +0200
commitbdc8fda4be875ff9cfa9c3f4b5e40284a8637374 (patch)
tree67eb55dcd1e9649e074e49ca0dd069920a2ae866 /sc/source/ui/view/viewdata.cxx
parentb11268fadf76618ad37d27219b7f51255f8f8b5a (diff)
loplugin:constmethod in sc
Change-Id: I78c4fb4acf21756f91582caee5e30e3ad1fc2ae4 Reviewed-on: https://gerrit.libreoffice.org/79543 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/view/viewdata.cxx')
-rw-r--r--sc/source/ui/view/viewdata.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/view/viewdata.cxx b/sc/source/ui/view/viewdata.cxx
index 7c6bc917543b..e01e53914c81 100644
--- a/sc/source/ui/view/viewdata.cxx
+++ b/sc/source/ui/view/viewdata.cxx
@@ -1206,7 +1206,7 @@ bool ScViewData::SimpleRowMarked()
return false;
}
-bool ScViewData::IsMultiMarked()
+bool ScViewData::IsMultiMarked() const
{
// Test for "real" multi selection, calling MarkToSimple on a local copy,
// and taking filtered in simple area marks into account.
@@ -2705,7 +2705,7 @@ ScDrawView* ScViewData::GetScDrawView()
return pView->GetScDrawView();
}
-bool ScViewData::IsMinimized()
+bool ScViewData::IsMinimized() const
{
assert(pView && "IsMinimized() without View");
return pView->IsMinimized();
@@ -3515,7 +3515,7 @@ void ScViewData::UpdateInputHandler( bool bForce )
pViewShell->UpdateInputHandler( bForce );
}
-bool ScViewData::IsOle()
+bool ScViewData::IsOle() const
{
return pDocShell && pDocShell->IsOle();
}