From ba27366f3d6bc6b209ecd5c5cb79a9ee5315316a Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 14 Jan 2014 16:50:42 +0000 Subject: Resolves: #i17171# Writer paragraph cannot be longer than 65534 characters Change-Id: I2052ae96571cba8fe2191dff53b1c61c95c94c60 --- sw/source/core/text/pordrop.hxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sw/source/core/text/pordrop.hxx') diff --git a/sw/source/core/text/pordrop.hxx b/sw/source/core/text/pordrop.hxx index 3ba9795aff7e..ea5c972e9dad 100644 --- a/sw/source/core/text/pordrop.hxx +++ b/sw/source/core/text/pordrop.hxx @@ -40,20 +40,20 @@ class SwDropPortionPart { SwDropPortionPart* pFollow; SwFont* pFnt; - xub_StrLen nLen; + sal_Int32 nLen; sal_uInt16 nWidth; bool m_bJoinBorderWithNext; bool m_bJoinBorderWithPrev; public: - SwDropPortionPart( SwFont& rFont, const xub_StrLen nL ) + SwDropPortionPart( SwFont& rFont, const sal_Int32 nL ) : pFollow( 0 ), pFnt( &rFont ), nLen( nL ), nWidth( 0 ), m_bJoinBorderWithNext(false), m_bJoinBorderWithPrev(false) {}; ~SwDropPortionPart(); inline SwDropPortionPart* GetFollow() const { return pFollow; }; inline void SetFollow( SwDropPortionPart* pNew ) { pFollow = pNew; }; inline SwFont& GetFont() const { return *pFnt; } - inline xub_StrLen GetLen() const { return nLen; } + inline sal_Int32 GetLen() const { return nLen; } inline sal_uInt16 GetWidth() const { return nWidth; } inline void SetWidth( sal_uInt16 nNew ) { nWidth = nNew; } @@ -94,7 +94,7 @@ public: void PaintDrop( const SwTxtPaintInfo &rInf ) const; virtual sal_Bool Format( SwTxtFormatInfo &rInf ); virtual SwPosSize GetTxtSize( const SwTxtSizeInfo &rInfo ) const; - virtual xub_StrLen GetCrsrOfst( const MSHORT nOfst ) const; + virtual sal_Int32 GetCrsrOfst( const MSHORT nOfst ) const; inline MSHORT GetLines() const { return nLines; } inline KSHORT GetDistance() const { return nDistance; } -- cgit v1.2.3