summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpjacquod <pjacquod@alumni.ethz.ch>2010-11-15 23:44:15 +0100
committerCaolán McNamara <caolanm@redhat.com>2010-11-17 16:23:47 +0000
commitc150d11c58ba895b71681744045d5a9a5b1572de (patch)
tree88aaabdafd0ff54270f52fff2f967a41ae1da6b8
parent36cff0860f99741ff0357f2457e7f585b700b242 (diff)
RTL_CONSTASCII_USTRINGPARAM in components - inc
components/forms/source/inc should be OK now
-rw-r--r--forms/source/inc/FormComponent.hxx2
-rw-r--r--forms/source/inc/forms_module_impl.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/inc/FormComponent.hxx b/forms/source/inc/FormComponent.hxx
index d9f009ce21ae..a1771caf15c4 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 3269eec68df0..b3063b30546f 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
{