Kaydet (Commit) 27b83b89 authored tarafından Caolán McNamara's avatar Caolán McNamara

update signature of DrawTextArray in workben

left behind since 0c7579d5

Change-Id: Ide1f81e5af52bece9ef96cfb1c16948086908e22
üst 55dbf879
...@@ -109,7 +109,7 @@ void setupMethodStubs( functor_vector_type& res ) ...@@ -109,7 +109,7 @@ void setupMethodStubs( functor_vector_type& res )
aPoly3.Rotate( aPoly3.GetBoundRect().Center(), aPoly3.Rotate( aPoly3.GetBoundRect().Center(),
900 ); 900 );
const String aString("This is a test"); const OUString aString("This is a test");
const LineInfo aLineInfo(LINE_SOLID,5); const LineInfo aLineInfo(LINE_SOLID,5);
// unfortunately, VDevs have inaccessible copy constructors // unfortunately, VDevs have inaccessible copy constructors
...@@ -139,7 +139,7 @@ void setupMethodStubs( functor_vector_type& res ) ...@@ -139,7 +139,7 @@ void setupMethodStubs( functor_vector_type& res )
aMtf.AddAction( new MetaFillColorAction(Color(COL_RED),sal_True) ); aMtf.AddAction( new MetaFillColorAction(Color(COL_RED),sal_True) );
aMtf.AddAction( new MetaRectAction(aRect) ); aMtf.AddAction( new MetaRectAction(aRect) );
/* void DrawTextArray( const Point& rStartPt, const XubString& rStr, /* void DrawTextArray( const Point& rStartPt, const OUString& rStr,
const sal_Int32* pDXAry = NULL, const sal_Int32* pDXAry = NULL,
xub_StrLen nIndex = 0, xub_StrLen nIndex = 0,
xub_StrLen nLen = STRING_LEN ); xub_StrLen nLen = STRING_LEN );
...@@ -149,7 +149,7 @@ void setupMethodStubs( functor_vector_type& res ) ...@@ -149,7 +149,7 @@ void setupMethodStubs( functor_vector_type& res )
boost::bind( boost::bind(
&OutputDevice::DrawTextArray, &OutputDevice::DrawTextArray,
_1, _1,
aPt1, aString, (const sal_Int32*)0, (sal_uInt16)0, aString.Len() )); aPt1, aString, (const sal_Int32*)0, (sal_uInt16)0, aString.getLength() ));
/* void DrawPixel( const Point& rPt, const Color& rColor ); */ /* void DrawPixel( const Point& rPt, const Color& rColor ); */
add(res, add(res,
......
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