summaryrefslogtreecommitdiff
path: root/vcl/inc/textlayout.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/inc/textlayout.hxx')
-rw-r--r--vcl/inc/textlayout.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/inc/textlayout.hxx b/vcl/inc/textlayout.hxx
index 28f21ebaae2e..0788a8a10565 100644
--- a/vcl/inc/textlayout.hxx
+++ b/vcl/inc/textlayout.hxx
@@ -40,7 +40,7 @@ namespace vcl
class SAL_NO_VTABLE ITextLayout
{
public:
- virtual long GetTextWidth( const XubString& _rText, xub_StrLen _nStartIndex, xub_StrLen _nLength ) const = 0;
+ virtual long GetTextWidth( const OUString& _rText, sal_Int32 _nStartIndex, sal_Int32 _nLength ) const = 0;
virtual void DrawText( const Point& _rStartPoint, const OUString& _rText, sal_Int32 _nStartIndex, sal_Int32 _nLength,
MetricVector* _pVector, OUString* _pDisplayText ) = 0;
virtual bool GetCaretPositions( const OUString& _rText, sal_Int32* _pCaretXArray, sal_Int32 _nStartIndex, sal_Int32 _nLength ) const = 0;
@@ -68,9 +68,9 @@ namespace vcl
// ITextLayout overridables
virtual long GetTextWidth(
- const XubString& _rText,
- xub_StrLen _nStartIndex,
- xub_StrLen _nLength
+ const OUString& _rText,
+ sal_Int32 _nStartIndex,
+ sal_Int32 _nLength
) const;
virtual void DrawText(
const Point& _rStartPoint,