diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-09-28 10:01:04 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-09-28 13:47:28 +0200 |
commit | e75a545f2869a4406bb434c356d481745f000271 (patch) | |
tree | 5f7b64b1c21096a98c18c47e4df855a58572be8a /starmath/inc/cursor.hxx | |
parent | c1e31ee0433232104c73cfa56e24e056833213dc (diff) |
loplugin:constmethod in sdext..starmath
Change-Id: Ib1b60382c9ec62f35f0f232c3f2c2d5664ea669e
Reviewed-on: https://gerrit.libreoffice.org/79779
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'starmath/inc/cursor.hxx')
-rw-r--r-- | starmath/inc/cursor.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/inc/cursor.hxx b/starmath/inc/cursor.hxx index 2ba17fb0a46c..14897656c0a3 100644 --- a/starmath/inc/cursor.hxx +++ b/starmath/inc/cursor.hxx @@ -83,7 +83,7 @@ public: const SmCaretPos& GetPosition() const { return mpPosition->CaretPos; } /** True, if the cursor has a selection */ - bool HasSelection() { return mpAnchor != mpPosition; } + bool HasSelection() const { return mpAnchor != mpPosition; } /** Move the position of this cursor */ void Move(OutputDevice* pDev, SmMovementDirection direction, bool bMoveAnchor = true); |