[Libreoffice-commits] .: slideshow/test

David Tardon dtardon at kemper.freedesktop.org
Tue Dec 14 22:47:18 PST 2010


 slideshow/test/demoshow.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 9cfc43b963067c53ddb95134aa37269b88ad95d2
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Wed Dec 15 07:47:09 2010 +0100

    RTL_CONSTASCII_USTRINGPARAM slideshow test

diff --git a/slideshow/test/demoshow.cxx b/slideshow/test/demoshow.cxx
index d7825db..e6830ff 100644
--- a/slideshow/test/demoshow.cxx
+++ b/slideshow/test/demoshow.cxx
@@ -424,7 +424,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 );
 
@@ -468,7 +468,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 ));


More information about the Libreoffice-commits mailing list