diff options
author | Noel Grandin <noel@peralex.com> | 2013-07-25 11:24:53 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-07-29 14:15:41 +0200 |
commit | eb96a5296a76d25bc751177a5e785178f2497adb (patch) | |
tree | c2800e00ae8155a62ec902079d8e634cecfbf80f /include/vcl/outdev.hxx | |
parent | d5ee0143082c29b9822324e9a55191379f1d163f (diff) |
convert OutputDevice::DrawText from XubString to OUString
Change-Id: I5c641fff9a7b2a32658cdaf81aa5f45048263f22
Diffstat (limited to 'include/vcl/outdev.hxx')
-rw-r--r-- | include/vcl/outdev.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx index 688d75d40758..fdbffaedbf8d 100644 --- a/include/vcl/outdev.hxx +++ b/include/vcl/outdev.hxx @@ -393,7 +393,7 @@ public: long nMaxWidth, sal_uInt16 nStyle, const ::vcl::ITextLayout& _rLayout ); static SAL_DLLPRIVATE void ImplDrawText( OutputDevice& rTargetDevice, const Rectangle& rRect, - const String& rOrigStr, sal_uInt16 nStyle, + const OUString& rOrigStr, sal_uInt16 nStyle, MetricVector* pVector, OUString* pDisplayText, ::vcl::ITextLayout& _rLayout ); SAL_DLLPRIVATE void ImplDrawTextBackground( const SalLayout& ); SAL_DLLPRIVATE void ImplDrawTextLines( SalLayout&, FontStrikeout eStrikeout, FontUnderline eUnderline, FontUnderline eOverline, sal_Bool bWordLine, sal_Bool bUnderlineAbove ); @@ -574,7 +574,7 @@ public: FontUnderline eOverline, sal_Bool bUnderlineAbove = sal_False ); - void DrawText( const Point& rStartPt, const XubString& rStr, + void DrawText( const Point& rStartPt, const OUString& rStr, xub_StrLen nIndex = 0, xub_StrLen nLen = STRING_LEN, MetricVector* pVector = NULL, OUString* pDisplayText = NULL ); long GetTextWidth( const OUString& rStr, sal_Int32 nIndex = 0, sal_Int32 nLen = -1 ) const; @@ -614,7 +614,7 @@ public: sal_uInt16 nStyle, GDIMetaFile& rMtf ); void DrawText( const Rectangle& rRect, - const XubString& rStr, sal_uInt16 nStyle = 0, + const OUString& rStr, sal_uInt16 nStyle = 0, MetricVector* pVector = NULL, OUString* pDisplayText = NULL, ::vcl::ITextLayout* _pTextLayout = NULL ); Rectangle GetTextRect( const Rectangle& rRect, |