summaryrefslogtreecommitdiff
path: root/sw/source/core/text/pordrop.hxx
diff options
context:
space:
mode:
authorMichael Stahl <Michael.Stahl@cib.de>2018-05-03 15:06:58 +0200
committerMichael Stahl <Michael.Stahl@cib.de>2018-06-08 21:51:20 +0200
commit2136dc24a16c14138a0cf00b701cc468f4c76d2d (patch)
tree9f5b38185b682a4f8f3e51d78c44a6bee223fcd8 /sw/source/core/text/pordrop.hxx
parent9a9f2bab54e9f124c19b525061fafb6d48e471a0 (diff)
sw_redlinehide: convert headers to TextFrameIndex
Only convert the interfaces now, convert the implementations later. Change-Id: I8a84f239d59a5fe21c62615d9ff8e2defa07badc
Diffstat (limited to 'sw/source/core/text/pordrop.hxx')
-rw-r--r--sw/source/core/text/pordrop.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/text/pordrop.hxx b/sw/source/core/text/pordrop.hxx
index e72e22302cd4..e0f7a4ea21f4 100644
--- a/sw/source/core/text/pordrop.hxx
+++ b/sw/source/core/text/pordrop.hxx
@@ -35,20 +35,20 @@ class SwDropPortionPart
{
SwDropPortionPart* pFollow;
SwFont* pFnt;
- sal_Int32 nLen;
+ TextFrameIndex nLen;
sal_uInt16 nWidth;
bool m_bJoinBorderWithNext;
bool m_bJoinBorderWithPrev;
public:
- SwDropPortionPart( SwFont& rFont, const sal_Int32 nL )
+ SwDropPortionPart( SwFont& rFont, const TextFrameIndex nL )
: pFollow( nullptr ), pFnt( &rFont ), nLen( nL ), nWidth( 0 ), m_bJoinBorderWithNext(false), m_bJoinBorderWithPrev(false) {};
~SwDropPortionPart();
SwDropPortionPart* GetFollow() const { return pFollow; };
void SetFollow( SwDropPortionPart* pNew ) { pFollow = pNew; };
SwFont& GetFont() const { return *pFnt; }
- sal_Int32 GetLen() const { return nLen; }
+ TextFrameIndex GetLen() const { return nLen; }
sal_uInt16 GetWidth() const { return nWidth; }
void SetWidth( sal_uInt16 nNew ) { nWidth = nNew; }
@@ -83,7 +83,7 @@ public:
void PaintDrop( const SwTextPaintInfo &rInf ) const;
virtual bool Format( SwTextFormatInfo &rInf ) override;
virtual SwPosSize GetTextSize( const SwTextSizeInfo &rInfo ) const override;
- virtual sal_Int32 GetCursorOfst( const sal_uInt16 nOfst ) const override;
+ virtual TextFrameIndex GetCursorOfst(sal_uInt16 nOfst) const override;
sal_uInt16 GetLines() const { return nLines; }
sal_uInt16 GetDistance() const { return nDistance; }