summaryrefslogtreecommitdiff
path: root/vcl/workben
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-08-01 16:08:30 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-08-01 22:12:25 +0100
commit27b83b89f13ac4ad0577ee27f13d9c6843ee66d4 (patch)
treeb9d2027705d85c598c0a1d3863f52f1d137d5f6c /vcl/workben
parent55dbf8795467892abe210e4adcc6cf14f02516d7 (diff)
update signature of DrawTextArray in workben
left behind since 0c7579d5de63f569773daf894bcc0ab173223f2a Change-Id: Ide1f81e5af52bece9ef96cfb1c16948086908e22
Diffstat (limited to 'vcl/workben')
-rw-r--r--vcl/workben/outdevgrind.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/workben/outdevgrind.cxx b/vcl/workben/outdevgrind.cxx
index 261643dedfbc..79137b8c4518 100644
--- a/vcl/workben/outdevgrind.cxx
+++ b/vcl/workben/outdevgrind.cxx
@@ -109,7 +109,7 @@ void setupMethodStubs( functor_vector_type& res )
aPoly3.Rotate( aPoly3.GetBoundRect().Center(),
900 );
- const String aString("This is a test");
+ const OUString aString("This is a test");
const LineInfo aLineInfo(LINE_SOLID,5);
// unfortunately, VDevs have inaccessible copy constructors
@@ -139,7 +139,7 @@ void setupMethodStubs( functor_vector_type& res )
aMtf.AddAction( new MetaFillColorAction(Color(COL_RED),sal_True) );
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,
xub_StrLen nIndex = 0,
xub_StrLen nLen = STRING_LEN );
@@ -149,7 +149,7 @@ void setupMethodStubs( functor_vector_type& res )
boost::bind(
&OutputDevice::DrawTextArray,
_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 ); */
add(res,