diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-02-04 14:10:16 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-02-04 15:02:17 +0100 |
commit | 1e22bc412920d468b5fde2824d116812e450a7a9 (patch) | |
tree | 09ff9a2ffeb73293ae4f591360d75b636d842816 /sw/source/core/layout/flycnt.cxx | |
parent | 1c7251ead55846c0ae295e33a25c9f958f5927d5 (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/source/core/layout/flycnt.cxx')
-rw-r--r-- | sw/source/core/layout/flycnt.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/layout/flycnt.cxx b/sw/source/core/layout/flycnt.cxx index bb5db884e4fd..3ffd236a6559 100644 --- a/sw/source/core/layout/flycnt.cxx +++ b/sw/source/core/layout/flycnt.cxx @@ -1336,7 +1336,7 @@ void SwFlyAtContentFrame::SetAbsPos( const Point &rNew ) SwTextFrame const*const pTextFrame(static_cast<SwTextFrame const*>(pCnt)); SwCursorMoveState eTmpState( MV_SETONLYTEXT ); Point aPt( rNew ); - if( pCnt->GetCursorOfst( &pos, aPt, &eTmpState ) + if( pCnt->GetModelPositionForViewPoint( &pos, aPt, &eTmpState ) && FrameContainsNode(*pTextFrame, pos.nNode.GetIndex())) { const SwTextAttr *const pTextInputField = |