diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-06-02 16:38:11 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-06-02 16:48:36 -0500 |
commit | 69337306016f3421d93967573c9fffffa6e5947f (patch) | |
tree | 8e29d413b695e4cb639d273eca960ac82cf17936 /slideshow/test | |
parent | 166ab674606cca5829c7b7ab3e58b25e3ce838fe (diff) |
targeted string re-work
Change-Id: Ia1ab054537ac379f08ecd1950ca686d08be35d03
Diffstat (limited to 'slideshow/test')
-rw-r--r-- | slideshow/test/demoshow.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/slideshow/test/demoshow.cxx b/slideshow/test/demoshow.cxx index a9322fdbfa85..d31f5903d395 100644 --- a/slideshow/test/demoshow.cxx +++ b/slideshow/test/demoshow.cxx @@ -422,7 +422,7 @@ DemoWindow::DemoWindow() : maUpdateTimer(), mbSlideDisplayed( false ) { - SetText( rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "Slideshow Demo" )) ); + SetText( rtl::OUString("Slideshow Demo" ) ); SetSizePixel( Size( 640, 480 ) ); EnablePaint( true ); @@ -447,7 +447,7 @@ void DemoWindow::init() uno::UNO_QUERY_THROW ); uno::Reference< uno::XInterface > xInt( xFactory->createInstance( - ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.presentation.SlideShow")) )); + ::rtl::OUString("com.sun.star.presentation.SlideShow") )); mxShow.set( xInt, uno::UNO_QUERY_THROW ); @@ -466,7 +466,7 @@ void DemoWindow::init() uno::Reference< animations::XAnimationNode >(), uno::Sequence< beans::PropertyValue >() ); mxShow->setProperty( beans::PropertyValue( - rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("RehearseTimings")), + rtl::OUString("RehearseTimings"), 0, uno::makeAny( sal_True ), beans::PropertyState_DIRECT_VALUE )); @@ -561,8 +561,8 @@ void DemoApp::Main() // Create UCB. uno::Sequence< uno::Any > aArgs( 2 ); - aArgs[ 0 ] <<= rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( UCB_CONFIGURATION_KEY1_LOCAL )); - aArgs[ 1 ] <<= rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( UCB_CONFIGURATION_KEY2_OFFICE )); + aArgs[ 0 ] <<= rtl::OUString(UCB_CONFIGURATION_KEY1_LOCAL ); + aArgs[ 1 ] <<= rtl::OUString(UCB_CONFIGURATION_KEY2_OFFICE ); ::ucbhelper::ContentBroker::initialize( xFactory, aArgs ); DemoWindow pWindow; |