diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-08-04 08:57:20 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-08-04 09:16:04 +0100 |
commit | 2702796806cae2b28ae78e78d29c3559bf97607e (patch) | |
tree | 2f93e0eca358c57e02df0f15e9388c73848b23b2 /sw/source/core/text/porfly.hxx | |
parent | Resolves: tdf#101269 cannot click/edit text inside a frame (diff) | |
download | core-2702796806cae2b28ae78e78d29c3559bf97607e.tar.gz core-2702796806cae2b28ae78e78d29c3559bf97607e.zip |
pPos can never be null
Change-Id: Ib7b57d628fbd80a1d2214917cd439e09d4803d91
Diffstat (limited to 'sw/source/core/text/porfly.hxx')
-rw-r--r-- | sw/source/core/text/porfly.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/text/porfly.hxx b/sw/source/core/text/porfly.hxx index b51efd9dc259..3aaf6ad8c25d 100644 --- a/sw/source/core/text/porfly.hxx +++ b/sw/source/core/text/porfly.hxx @@ -79,8 +79,8 @@ public: long nLnAscent, long nLnDescent, long nFlyAscent, long nFlyDescent, AsCharFlags nFlags ); - sal_Int32 GetFlyCursorOfst( const sal_uInt16 nOfst, const Point &rPoint, - SwPosition *pPos, SwCursorMoveState* pCMS ) const; + void GetFlyCursorOfst( const sal_uInt16 nOfst, const Point &rPoint, + SwPosition& rPos, SwCursorMoveState* pCMS ) const; virtual bool Format( SwTextFormatInfo &rInf ) override; virtual void Paint( const SwTextPaintInfo &rInf ) const override; OUTPUT_OPERATOR_OVERRIDE |