summaryrefslogtreecommitdiff
path: root/sw/source/core/text/porexp.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/source/core/text/porexp.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/source/core/text/porexp.hxx')
-rw-r--r--sw/source/core/text/porexp.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/text/porexp.hxx b/sw/source/core/text/porexp.hxx
index 6ab851ad3b2b..22a8aef317ba 100644
--- a/sw/source/core/text/porexp.hxx
+++ b/sw/source/core/text/porexp.hxx
@@ -27,7 +27,7 @@ class SwExpandPortion : public SwTextPortion
public:
SwExpandPortion() { SetWhichPor( PortionType::Expand ); }
virtual bool Format( SwTextFormatInfo &rInf ) override;
- virtual TextFrameIndex GetCursorOfst(sal_uInt16 nOfst) const override;
+ virtual TextFrameIndex GetModelPositionForViewPoint(sal_uInt16 nOfst) const override;
virtual bool GetExpText( const SwTextSizeInfo &rInf, OUString &rText ) const override;
virtual SwPosSize GetTextSize( const SwTextSizeInfo &rInfo ) const override;
virtual void Paint( const SwTextPaintInfo &rInf ) const override;