[Libreoffice-commits] .: sdext/source

Gert Faller gfaller at kemper.freedesktop.org
Wed Dec 8 08:23:13 PST 2010


 sdext/source/minimizer/informationdialog.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit c3e6ab32f86d32b5615ddda3d9bc887114960ef2
Author: Gert Faller <gertfaller at aliceadsl.fr>
Date:   Wed Dec 8 17:22:45 2010 +0100

    RTL_CONSTASCII_USTRINGPARAM in extensions 2

diff --git a/sdext/source/minimizer/informationdialog.cxx b/sdext/source/minimizer/informationdialog.cxx
index 22f12d6..f970ff7 100644
--- a/sdext/source/minimizer/informationdialog.cxx
+++ b/sdext/source/minimizer/informationdialog.cxx
@@ -322,8 +322,8 @@ void InformationDialog::InitDialog()
     OUString aInfoString( getString( eInfoString ) );
     const OUString aOldSizePlaceholder( RTL_CONSTASCII_USTRINGPARAM( "%OLDFILESIZE" ) );
     const OUString aNewSizePlaceholder( RTL_CONSTASCII_USTRINGPARAM( "%NEWFILESIZE" ) );
-    const OUString aTitlePlaceholder( aTitle.getLength() ? OUString::createFromAscii("%TITLE"  )
-                                                         : OUString::createFromAscii("'%TITLE'") );
+    const OUString aTitlePlaceholder( aTitle.getLength() ? OUString(RTL_CONSTASCII_USTRINGPARAM("%TITLE"  ))
+                                                         : OUString(RTL_CONSTASCII_USTRINGPARAM("'%TITLE'")) );
 
     sal_Int32 i = aInfoString.indexOf( aOldSizePlaceholder, 0 );
     if ( i >= 0 )


More information about the Libreoffice-commits mailing list