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/porexp.hxx | |
parent | 472285e742db5fed6d901162076d42c7d7c175af (diff) |
Resolves: #i17171# Writer paragraph cannot be longer than 65534 characters
Change-Id: I2052ae96571cba8fe2191dff53b1c61c95c94c60
Diffstat (limited to 'sw/source/core/text/porexp.hxx')
-rw-r--r-- | sw/source/core/text/porexp.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/text/porexp.hxx b/sw/source/core/text/porexp.hxx index 77ece8afa223..59c8fa2326a1 100644 --- a/sw/source/core/text/porexp.hxx +++ b/sw/source/core/text/porexp.hxx @@ -31,7 +31,7 @@ class SwExpandPortion : public SwTxtPortion public: inline SwExpandPortion() { SetWhichPor( POR_EXP ); } virtual sal_Bool Format( SwTxtFormatInfo &rInf ); - virtual xub_StrLen GetCrsrOfst( const MSHORT nOfst ) const; + virtual sal_Int32 GetCrsrOfst( const MSHORT nOfst ) const; virtual sal_Bool GetExpTxt( const SwTxtSizeInfo &rInf, OUString &rTxt ) const; virtual SwPosSize GetTxtSize( const SwTxtSizeInfo &rInfo ) const; virtual void Paint( const SwTxtPaintInfo &rInf ) const; @@ -64,7 +64,7 @@ public: virtual void FormatEOL( SwTxtFormatInfo &rInf ); virtual sal_Bool Format( SwTxtFormatInfo &rInf ); virtual void Paint( const SwTxtPaintInfo &rInf ) const; - MSHORT MayUnderFlow( const SwTxtFormatInfo &rInf, xub_StrLen nIdx, + MSHORT MayUnderFlow( const SwTxtFormatInfo &rInf, sal_Int32 nIdx, sal_Bool bUnderFlow ) const; // Accessibility: pass information about this portion to the PortionHandler |