diff options
author | Chr. Rossmanith <ChrRossmanith@gmx.de> | 2013-03-25 15:50:37 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-03-30 21:36:47 +0000 |
commit | a2f6402b1fe769a430019042e14e63c9414715dc (patch) | |
tree | 5b4f4cbaecfc3085f3889406222c259132291503 /vcl/inc | |
parent | 51e05acf07093ac8f2b2dc8eeb86abe9446e3463 (diff) |
Use OUString and sal_Int32 in GetTextBreak()
Change-Id: I66b85365d1c59f802253b8abdb1e04e25950a09b
Reviewed-on: https://gerrit.libreoffice.org/3098
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/vcl/outdev.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/vcl/inc/vcl/outdev.hxx b/vcl/inc/vcl/outdev.hxx index d8cae7d460ed..a1424f69246b 100644 --- a/vcl/inc/vcl/outdev.hxx +++ b/vcl/inc/vcl/outdev.hxx @@ -590,12 +590,12 @@ public: void DrawStretchText( const Point& rStartPt, sal_uLong nWidth, const XubString& rStr, xub_StrLen nIndex = 0, xub_StrLen nLen = STRING_LEN ); - xub_StrLen GetTextBreak( const XubString& rStr, long nTextWidth, - xub_StrLen nIndex = 0, xub_StrLen nLen = STRING_LEN, + xub_StrLen GetTextBreak( const OUString& rStr, long nTextWidth, + sal_Int32 nIndex = 0, sal_Int32 nLen = -1, long nCharExtra = 0, sal_Bool bCellBreaking = sal_True ) const; - xub_StrLen GetTextBreak( const XubString& rStr, long nTextWidth, - sal_uInt16 nExtraChar, xub_StrLen& rExtraCharPos, - xub_StrLen nIndex, xub_StrLen nLen, + xub_StrLen GetTextBreak( const OUString& rStr, long nTextWidth, + sal_Unicode nExtraChar, sal_Int32& rExtraCharPos, + sal_Int32 nIndex, sal_Int32 nLen, long nCharExtra = 0 ) const; /** Generate MetaTextActions for the text rect |