diff options
author | Chr. Rossmanith <ChrRossmanith@gmx.de> | 2013-03-30 18:59:57 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-04-02 16:11:57 +0000 |
commit | 96699848ec8e72ec4893777d9f2d657872862ffc (patch) | |
tree | 032894bfd124a2f4fbccbc9e3b4abf444a2c843a /vcl/inc/textlayout.hxx | |
parent | a2bf98857b675b2d10a4fd93a0413229abebf3f1 (diff) |
Use OUString and sal_Int32 in GetTextWidth() (2)
Change-Id: I85ea6cc60add141954c8b75f78a8024c872d7174
Reviewed-on: https://gerrit.libreoffice.org/3158
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'vcl/inc/textlayout.hxx')
-rw-r--r-- | vcl/inc/textlayout.hxx | 8 |
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, |