summaryrefslogtreecommitdiffstats
path: root/slideshow/test/demoshow.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'slideshow/test/demoshow.cxx')
-rw-r--r--slideshow/test/demoshow.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/slideshow/test/demoshow.cxx b/slideshow/test/demoshow.cxx
index 254544a24e46..79f3fdc5b629 100644
--- a/slideshow/test/demoshow.cxx
+++ b/slideshow/test/demoshow.cxx
@@ -418,7 +418,7 @@ DemoWindow::DemoWindow() :
maUpdateTimer(),
mbSlideDisplayed( false )
{
- SetText( rtl::OUString::createFromAscii( "Slideshow Demo" ) );
+ SetText( rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "Slideshow Demo" )) );
SetSizePixel( Size( 640, 480 ) );
EnablePaint( true );
@@ -460,7 +460,7 @@ void DemoWindow::init()
uno::Reference< animations::XAnimationNode >(),
uno::Sequence< beans::PropertyValue >() );
mxShow->setProperty( beans::PropertyValue(
- rtl::OUString::createFromAscii("RehearseTimings"),
+ rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("RehearseTimings")),
0,
uno::makeAny( sal_True ),
beans::PropertyState_DIRECT_VALUE ));