summaryrefslogtreecommitdiff
path: root/sw/source/core/inc/layfrm.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/inc/layfrm.hxx')
-rw-r--r--sw/source/core/inc/layfrm.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/inc/layfrm.hxx b/sw/source/core/inc/layfrm.hxx
index f7d90f00d8f6..1a725dc3477e 100644
--- a/sw/source/core/inc/layfrm.hxx
+++ b/sw/source/core/inc/layfrm.hxx
@@ -79,7 +79,7 @@ public:
virtual bool FillSelection( SwSelectionList& rList, const SwRect& rRect ) const override;
- virtual bool GetCursorOfst( SwPosition *, Point&,
+ virtual bool GetModelPositionForViewPoint( SwPosition *, Point&,
SwCursorMoveState* = nullptr, bool bTestBackground = false ) const override;
virtual void Cut() override;
@@ -87,7 +87,7 @@ public:
/**
* Finds the closest Content for the SPoint
- * Is used for Pages, Flys and Cells if GetCursorOfst failed
+ * Is used for Pages, Flys and Cells if GetModelPositionForViewPoint failed
*/
const SwContentFrame* GetContentPos( Point &rPoint, const bool bDontLeave,
const bool bBodyOnly = false,