commit aa72f99c55a8824a7429b322721c29f004d64c34
Author: Julien Nabet <serval2412@yahoo.fr>
Date:   Sat Dec 25 13:09:26 2010 +0100

    RTL_CONSTASCII_USTRINGPARAM

diff --git a/tools/inc/tools/diagnose_ex.h b/tools/inc/tools/diagnose_ex.h
index 1069466..abc2e74 100644
--- a/tools/inc/tools/diagnose_ex.h
+++ b/tools/inc/tools/diagnose_ex.h
@@ -90,14 +90,14 @@
 #define ENSURE_ARG_OR_THROW(c, m) if( !(c) ) { \
                                      OSL_ENSURE(c, m); \
                                      throw ::com::sun::star::lang::IllegalArgumentException( \
-                                     ::rtl::OUString::createFromAscii(BOOST_CURRENT_FUNCTION) + \
+                                     ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(BOOST_CURRENT_FUNCTION)) + \
                                      ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ",\n"m )), \
                                      ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >(), \
                                      0 ); }
 #define ENSURE_ARG_OR_THROW2(c, m, ifc, arg) if( !(c) ) { \
                                                OSL_ENSURE(c, m); \
                                                throw ::com::sun::star::lang::IllegalArgumentException( \
-                                               ::rtl::OUString::createFromAscii(BOOST_CURRENT_FUNCTION) + \
+                                               ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(BOOST_CURRENT_FUNCTION)) + \
                                                ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ",\n"m )), \
                                                ifc, \
                                                arg ); }
@@ -109,7 +109,7 @@
     if( !(c) ){ \
         OSL_ENSURE(c, m); \
         throw ::com::sun::star::uno::RuntimeException( \
-        ::rtl::OUString::createFromAscii(BOOST_CURRENT_FUNCTION) + \
+        ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(BOOST_CURRENT_FUNCTION)) + \
         ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ",\n"m )), \
         ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >() ); }
 
@@ -117,7 +117,7 @@
     if( !(c) ) { \
         OSL_ENSURE(c, m); \
         throw ::com::sun::star::uno::RuntimeException( \
-        ::rtl::OUString::createFromAscii(BOOST_CURRENT_FUNCTION) + \
+        ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(BOOST_CURRENT_FUNCTION)) + \
         ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ",\n"m )), \
         ifc ); }
 
