[Libreoffice-commits] .: starmath/source

David Tardon dtardon at kemper.freedesktop.org
Sat Nov 13 00:03:43 PST 2010


 starmath/source/smdetect.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 75ab2a62e6c7d445a61f7e994905a8625c159612
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sat Nov 13 09:03:24 2010 +0100

    RTL_CONSTASCII_USTRINGPARAM for writer_starmath

diff --git a/starmath/source/smdetect.cxx b/starmath/source/smdetect.cxx
index a7404eb..8fe1dbd 100644
--- a/starmath/source/smdetect.cxx
+++ b/starmath/source/smdetect.cxx
@@ -468,14 +468,14 @@ UNOSEQUENCE< UNOOUSTRING > SmFilterDetect::impl_getStaticSupportedServiceNames()
 {
     UNOMUTEXGUARD aGuard( UNOMUTEX::getGlobalMutex() );
     UNOSEQUENCE< UNOOUSTRING > seqServiceNames( 1 );
-    seqServiceNames.getArray() [0] = UNOOUSTRING::createFromAscii( "com.sun.star.frame.ExtendedTypeDetection"  );
+    seqServiceNames.getArray() [0] = UNOOUSTRING(RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.frame.ExtendedTypeDetection"  ));
     return seqServiceNames ;
 }
 
 /* Helper for XServiceInfo */
 UNOOUSTRING SmFilterDetect::impl_getStaticImplementationName()
 {
-    return UNOOUSTRING::createFromAscii( "com.sun.star.comp.math.FormatDetector" );
+    return UNOOUSTRING(RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.comp.math.FormatDetector" ));
 }
 
 /* Helper for registry */


More information about the Libreoffice-commits mailing list