summaryrefslogtreecommitdiff
path: root/sw/source/core/text/pordrop.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-01-14 16:50:42 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-01-15 13:26:08 +0000
commitba27366f3d6bc6b209ecd5c5cb79a9ee5315316a (patch)
tree2eeccfea7113977254b962c64c1b126d1ee5d6eb /sw/source/core/text/pordrop.hxx
parent472285e742db5fed6d901162076d42c7d7c175af (diff)
Resolves: #i17171# Writer paragraph cannot be longer than 65534 characters
Change-Id: I2052ae96571cba8fe2191dff53b1c61c95c94c60
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 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; }