diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-14 16:50:42 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-15 13:26:08 +0000 |
commit | ba27366f3d6bc6b209ecd5c5cb79a9ee5315316a (patch) | |
tree | 2eeccfea7113977254b962c64c1b126d1ee5d6eb /sw/source/core/text/porrst.hxx | |
parent | 472285e742db5fed6d901162076d42c7d7c175af (diff) |
Resolves: #i17171# Writer paragraph cannot be longer than 65534 characters
Change-Id: I2052ae96571cba8fe2191dff53b1c61c95c94c60
Diffstat (limited to 'sw/source/core/text/porrst.hxx')
-rw-r--r-- | sw/source/core/text/porrst.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/text/porrst.hxx b/sw/source/core/text/porrst.hxx index 574be5625d07..de5f2fdb03b6 100644 --- a/sw/source/core/text/porrst.hxx +++ b/sw/source/core/text/porrst.hxx @@ -51,7 +51,7 @@ public: virtual void Paint( const SwTxtPaintInfo &rInf ) const; virtual sal_Bool Format( SwTxtFormatInfo &rInf ); virtual KSHORT GetViewWidth( const SwTxtSizeInfo &rInf ) const; - virtual xub_StrLen GetCrsrOfst( const MSHORT nOfst ) const; + virtual sal_Int32 GetCrsrOfst( const MSHORT nOfst ) const; // Accessibility: pass information about this portion to the PortionHandler virtual void HandlePortion( SwPortionHandler& rPH ) const; @@ -133,7 +133,7 @@ public: class SwHiddenTextPortion : public SwLinePortion { public: - inline SwHiddenTextPortion( xub_StrLen nLen ) + inline SwHiddenTextPortion( sal_Int32 nLen ) { SetWhichPor( POR_HIDDEN_TXT ); SetLen( nLen ); } virtual void Paint( const SwTxtPaintInfo &rInf ) const; |