summaryrefslogtreecommitdiffstats
path: root/basctl/source/basicide/baside2b.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-08-21 17:11:45 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-08-21 19:47:52 +0200
commit8bf1542f856bd2b8617d7a0870824a3a2ada4b6c (patch)
tree38ad563b9cfd4a24150cc568cad50df31a9c9fd6 /basctl/source/basicide/baside2b.cxx
parentloplugin:constmethod in accessibility (diff)
downloadcore-8bf1542f856bd2b8617d7a0870824a3a2ada4b6c.tar.gz
core-8bf1542f856bd2b8617d7a0870824a3a2ada4b6c.zip
loplugin:constmethod in basctl
Change-Id: Ib4d7a6690aea4e6f009162cd5b6407906deaaa75 Reviewed-on: https://gerrit.libreoffice.org/77925 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basctl/source/basicide/baside2b.cxx')
-rw-r--r--basctl/source/basicide/baside2b.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx
index 57c18788319f..6bf425a65c8b 100644
--- a/basctl/source/basicide/baside2b.cxx
+++ b/basctl/source/basicide/baside2b.cxx
@@ -675,7 +675,7 @@ void EditorWindow::HandleAutoCorrect()
}
}
-TextSelection EditorWindow::GetLastHighlightPortionTextSelection()
+TextSelection EditorWindow::GetLastHighlightPortionTextSelection() const
{//creates a text selection from the highlight portion on the cursor
const sal_uInt32 nLine = GetEditView()->GetSelection().GetStart().GetPara();
const sal_Int32 nIndex = GetEditView()->GetSelection().GetStart().GetIndex();