summaryrefslogtreecommitdiff
path: root/vcl/workben
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-11-14 13:13:19 +0200
committerNoel Grandin <noel@peralex.com>2013-11-19 10:29:30 +0200
commit2c35fff7eca3a143d28dc75e6a73fe1101d2af77 (patch)
treefb31b64880b06b0e2bd867aa6216ae0259c7c091 /vcl/workben
parentccc297097891e62489e5d281a4ea128ec6b71361 (diff)
remove most use of RTL_CONSTASCII_USTRINGPARAM macro
This is largely unnecessary when working with OUString Change-Id: I3cf4d68357a43665d01162ef4a2d5346a45da9be
Diffstat (limited to 'vcl/workben')
-rw-r--r--vcl/workben/svpclient.cxx4
-rw-r--r--vcl/workben/vcldemo.cxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/vcl/workben/svpclient.cxx b/vcl/workben/svpclient.cxx
index 3f1890a00fa4..54a51d9cbcff 100644
--- a/vcl/workben/svpclient.cxx
+++ b/vcl/workben/svpclient.cxx
@@ -131,7 +131,7 @@ MyWin::MyWin( Window* pParent, WinBits nWinStyle ) :
m_aQuitButton( this, 0 )
{
m_aListButton.SetPosSizePixel( Point( 10, 10 ), Size( 120, 25 ) );
- m_aListButton.SetText( String( RTL_CONSTASCII_USTRINGPARAM( "List Elements" ) ) );
+ m_aListButton.SetText( OUString( "List Elements" ) );
m_aListButton.SetClickHdl( LINK( this, MyWin, ListHdl ) );
m_aListButton.Show();
@@ -144,7 +144,7 @@ MyWin::MyWin( Window* pParent, WinBits nWinStyle ) :
m_aImage.Show();
m_aQuitButton.SetPosSizePixel( Point( 10, 300 ), Size( 120,25 ) );
- m_aQuitButton.SetText( String( RTL_CONSTASCII_USTRINGPARAM( "Quit SVP server" ) ) );
+ m_aQuitButton.SetText( OUString( "Quit SVP server" ) );
m_aQuitButton.SetClickHdl( LINK( this, MyWin, QuitHdl ) );
m_aQuitButton.Show();
}
diff --git a/vcl/workben/vcldemo.cxx b/vcl/workben/vcldemo.cxx
index af7c7cf02890..841305e854ca 100644
--- a/vcl/workben/vcldemo.cxx
+++ b/vcl/workben/vcldemo.cxx
@@ -141,9 +141,9 @@ void MyWin::Paint( const Rectangle& rRect )
DrawLine( Point(r.Left()+i, r.Bottom()), Point(r.Right()-i, r.Top()) );
SetTextColor( Color( COL_WHITE ) );
- Font aFont( String( RTL_CONSTASCII_USTRINGPARAM( "Times" ) ), Size( 0, 25 ) );
+ Font aFont( OUString( "Times" ), Size( 0, 25 ) );
SetFont( aFont );
- DrawText( Point( 20, 30 ), String( RTL_CONSTASCII_USTRINGPARAM( "Just a simple test text" ) ) );
+ DrawText( Point( 20, 30 ), OUString( "Just a simple test text" ) );
}