[PATCH 04/12] RTL_CONSTASCII_USTRINGPARAM in components - inc

pjacquod pjacquod at alumni.ethz.ch
Mon Nov 15 14:44:15 PST 2010


components/forms/source/inc should be OK now
---
 forms/source/inc/FormComponent.hxx     |    2 +-
 forms/source/inc/forms_module_impl.hxx |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/forms/source/inc/FormComponent.hxx b/forms/source/inc/FormComponent.hxx
index a51426d..0beb592 100644
--- a/forms/source/inc/FormComponent.hxx
+++ b/forms/source/inc/FormComponent.hxx
@@ -104,7 +104,7 @@ namespace frm
     // old macro for quickly implementing XServiceInfo::getImplementationName
     #define IMPLEMENTATION_NAME(ImplName)										\
     virtual ::rtl::OUString SAL_CALL getImplementationName(  ) throw(::com::sun::star::uno::RuntimeException) \
-        { return ::rtl::OUString::createFromAscii("com.sun.star.comp.forms.") + ::rtl::OUString::createFromAscii(#ImplName); }
+        { return ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.comp.forms.") ) + ::rtl::OUString::createFromAscii(#ImplName); }
 
     class OControlModel;
 
diff --git a/forms/source/inc/forms_module_impl.hxx b/forms/source/inc/forms_module_impl.hxx
index cef7914..a1ac17d 100644
--- a/forms/source/inc/forms_module_impl.hxx
+++ b/forms/source/inc/forms_module_impl.hxx
@@ -135,7 +135,7 @@ namespace FORMS_MODULE_NAMESPACE
         {
             ::rtl::OUString aMainKeyName(sRootKey);
             aMainKeyName += *pImplName;
-            aMainKeyName += ::rtl::OUString::createFromAscii("/UNO/SERVICES");
+            aMainKeyName += ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/UNO/SERVICES") );
 
             try
             {
-- 
1.7.1


--------------030808040805090702070504--


More information about the LibreOffice mailing list