Kaydet (Commit) 0c7579d5 authored tarafından Noel Grandin's avatar Noel Grandin

convert OutputDevice::DrawTextArray from XubString to OUString

Change-Id: Ie16504ea004e39eda246a7ed170504a04a0764bb
üst eb96a529
......@@ -581,7 +581,7 @@ public:
/// Height where any character of the current font fits; in logic coordinates.
long GetTextHeight() const;
float approximate_char_width() const;
void DrawTextArray( const Point& rStartPt, const XubString& rStr,
void DrawTextArray( const Point& rStartPt, const OUString& rStr,
const sal_Int32* pDXAry = NULL,
xub_StrLen nIndex = 0,
xub_StrLen nLen = STRING_LEN );
......@@ -592,7 +592,7 @@ public:
sal_Int32* pDXAry = NULL, long nWidth = 0,
sal_Bool bCellBreaking = sal_True ) const;
void DrawStretchText( const Point& rStartPt, sal_uLong nWidth,
const XubString& rStr,
const OUString& rStr,
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,
......
......@@ -5478,7 +5478,7 @@ float OutputDevice::approximate_char_width() const
return GetTextWidth("aemnnxEM") / 8.0;
}
void OutputDevice::DrawTextArray( const Point& rStartPt, const String& rStr,
void OutputDevice::DrawTextArray( const Point& rStartPt, const OUString& rStr,
const sal_Int32* pDXAry,
xub_StrLen nIndex, xub_StrLen nLen )
{
......@@ -5620,7 +5620,7 @@ bool OutputDevice::GetCaretPositions( const OUString& rStr, sal_Int32* pCaretXAr
}
void OutputDevice::DrawStretchText( const Point& rStartPt, sal_uLong nWidth,
const String& rStr,
const OUString& rStr,
xub_StrLen nIndex, xub_StrLen nLen )
{
DBG_CHKTHIS( OutputDevice, ImplDbgCheckOutputDevice );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment