summaryrefslogtreecommitdiff
path: root/sw/inc/crstate.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-02-04 14:10:16 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-02-04 15:02:17 +0100
commit1e22bc412920d468b5fde2824d116812e450a7a9 (patch)
tree09ff9a2ffeb73293ae4f591360d75b636d842816 /sw/inc/crstate.hxx
parent1c7251ead55846c0ae295e33a25c9f958f5927d5 (diff)
rename GetCursorOfst -> GetModelPositionForViewPoint
Change-Id: Ia7202e009f635032178e5467a1ac0ab43f82ccf2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87953 Reviewed-by: Michael Stahl <michael.stahl@cib.de> Tested-by: Jenkins
Diffstat (limited to 'sw/inc/crstate.hxx')
-rw-r--r--sw/inc/crstate.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/inc/crstate.hxx b/sw/inc/crstate.hxx
index 8697b1388100..7d7dcd705559 100644
--- a/sw/inc/crstate.hxx
+++ b/sw/inc/crstate.hxx
@@ -117,7 +117,7 @@ struct SwSpecialPos
{}
};
-// CursorTravelling-States (for GetCursorOfst)
+// CursorTravelling-States (for GetModelPositionForViewPoint)
enum CursorMoveState
{
MV_NONE, ///< default
@@ -142,14 +142,14 @@ struct SwCursorMoveState
bool m_bFieldInfo; ///< should be fields recognized?
bool m_bPosCorr; ///< Point had to be corrected
bool m_bFootnoteNoInfo; ///< recognized footnote numbering
- bool m_bExactOnly; /**< let GetCursorOfst look for exact matches only,
+ bool m_bExactOnly; /**< let GetModelPositionForViewPoint look for exact matches only,
i.e. never let it run into GetContentPos */
bool m_bFillRet; ///< only used temporary in FillMode
bool m_bSetInReadOnly; ///< ReadOnly areas may be entered
bool m_bRealWidth; ///< Calculation of the width required
bool m_b2Lines; ///< Check 2line portions and fill p2Lines
bool m_bNoScroll; ///< No scrolling of undersized textframes
- bool m_bPosMatchesBounds; /**< GetCursorOfst should not return the next
+ bool m_bPosMatchesBounds; /**< GetModelPositionForViewPoint should not return the next
position if screen position is inside second
have of bound rect */