[Libreoffice-commits] .: binfilter/bf_forms
Caolán McNamara
caolan at kemper.freedesktop.org
Wed Dec 22 13:23:58 PST 2010
binfilter/bf_forms/source/component/FormComponent.hxx | 2 +-
binfilter/bf_forms/source/misc/forms_services.cxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 74fa3fcfa4f9e6ac62ec36774134caaf1e0584cd
Author: serval <serval at ilapharm.com>
Date: Wed Dec 22 21:22:53 2010 +0000
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)
More information about the Libreoffice-commits
mailing list