summaryrefslogtreecommitdiff
path: root/toolkit/source/layout/vcl
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/source/layout/vcl')
-rw-r--r--toolkit/source/layout/vcl/wbutton.cxx4
-rw-r--r--toolkit/source/layout/vcl/wrapper.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/toolkit/source/layout/vcl/wbutton.cxx b/toolkit/source/layout/vcl/wbutton.cxx
index 0a7e0e4c8ee4..67573eefb950 100644
--- a/toolkit/source/layout/vcl/wbutton.cxx
+++ b/toolkit/source/layout/vcl/wbutton.cxx
@@ -507,8 +507,8 @@ public:
// TODO: i18n
// Button::GetStandardText( BUTTON_ADVANCED );
// Button::GetStandardText( BUTTON_SIMPLE );
- , mAdvancedLabel( rtl::OUString::createFromAscii( "Advanced..." ) )
- , mSimpleLabel( rtl::OUString::createFromAscii( "Simple..." ) )
+ , mAdvancedLabel( rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Advanced...")) )
+ , mSimpleLabel( rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Simple...")) )
{
}
void Click()
diff --git a/toolkit/source/layout/vcl/wrapper.cxx b/toolkit/source/layout/vcl/wrapper.cxx
index 3acb946f7545..f06af5f3addc 100644
--- a/toolkit/source/layout/vcl/wrapper.cxx
+++ b/toolkit/source/layout/vcl/wrapper.cxx
@@ -81,7 +81,7 @@ public:
uno::Reference< lang::XSingleServiceFactory > xFactory(
comphelper::createProcessComponent(
- OUString::createFromAscii( "com.sun.star.awt.Layout" ) ),
+ OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.awt.Layout")) ),
uno::UNO_QUERY );
if ( !xFactory.is() )
{