Hello,
Here is a patch for some files
(LGPLv3+ / MPL)
Julien
commit 12ed8ec48418ac20a50e8a097e1a5e78f0c99cbb
Author: serval <serval@ilapharm.com>
Date: Sun Dec 19 14:46:27 2010 +0100
RTL_CONSTASCII_USTRINGPARAM
diff --git a/forms/source/inc/FormComponent.hxx b/forms/source/inc/FormComponent.hxx
index 0beb592..8fcb31d 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(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.comp.forms.") ) +
::rtl::OUString::createFromAscii(#ImplName); }
+ { return ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.comp.forms.") ) +
::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(#ImplName)); }
class OControlModel;
diff --git a/forms/source/misc/services.cxx b/forms/source/misc/services.cxx
index 844180f..e1beaaf 100644
--- a/forms/source/misc/services.cxx
+++ b/forms/source/misc/services.cxx
@@ -134,7 +134,7 @@ void registerClassInfo(
//.......................................................................................
#define REGISTER_CLASS_CORE(classImplName) \
registerClassInfo( \
- ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.form.") ) +
::rtl::OUString::createFromAscii(#classImplName), \
+ ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.form.") ) +
::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(#classImplName)), \
aServices, \
frm::classImplName##_CreateInstance)
@@ -276,7 +276,7 @@ void ensureClassInfos()
// = XForms core
#define REGISTER_XFORMS_CLASS(name) \
aServices.realloc(1); \
- aServices.getArray()[0] = rtl::OUString::createFromAscii( "com.sun.star.xforms." #name ); \
+ aServices.getArray()[0] = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.xforms."
#name )); \
REGISTER_CLASS_CORE(name)
REGISTER_XFORMS_CLASS(Model);
commit cf2811221528d3c8000951c8a3ecbd92918b58fe
Author: serval <serval2412@yahoo.fr>
Date: Sun Dec 19 15:37:23 2010 +0100
RTL_CONSTASCII_USTRINGPARAM
diff --git a/binfilter/bf_forms/source/component/FormComponent.hxx
b/binfilter/bf_forms/source/component/FormComponent.hxx
index c6fa47c..599fb06 100644
--- a/binfilter/bf_forms/source/component/FormComponent.hxx
+++ b/binfilter/bf_forms/source/component/FormComponent.hxx
@@ -69,7 +69,7 @@ const sal_Int16 FRM_DEFAULT_TABINDEX = 0;
// 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( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.comp.forms." )) +
::rtl::OUString::createFromAscii(#ImplName); }
+ { return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.comp.forms." )) +
::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(#ImplName)); }
// macro for overriding the getInfoServive method of OAggregationArrayUsageHelper
#define IMPLEMENT_INFO_SERVICE() \
diff --git a/binfilter/bf_forms/source/misc/forms_services.cxx
b/binfilter/bf_forms/source/misc/forms_services.cxx
index 844ee6f..fafc36e 100644
--- a/binfilter/bf_forms/source/misc/forms_services.cxx
+++ b/binfilter/bf_forms/source/misc/forms_services.cxx
@@ -303,7 +303,7 @@ void registerClassInfo(
//.......................................................................................
#define REGISTER_CLASS_CORE(classImplName) \
registerClassInfo( \
- ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.form." )) +
::rtl::OUString::createFromAscii(#classImplName), \
+ ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.form." )) +
::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(#classImplName)), \
aServices, \
frm::classImplName##_CreateInstance)
Context
- [Libreoffice] [Patch] RTL_CONSTASCII_USTRINGPARAM for some files part2 · Julien Nabet
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.