diff options
author | Gert Faller <gertfaller@aliceadsl.fr> | 2010-11-27 09:28:39 +0100 |
---|---|---|
committer | Gert Faller <gertfaller@aliceadsl.fr> | 2010-11-27 09:28:39 +0100 |
commit | 1d922012beecb3e94a1bbe521010d92486102d6c (patch) | |
tree | 841a990632293e7c0704e8575bef6ea00dc25077 /unodevtools/source/skeletonmaker/cpptypemaker.cxx | |
parent | 7ccc9aaef5c992f7baa7b0c547e3f3a2c06056fe (diff) |
RTL_CONSTASCII_USTRINGPARAM in sdk 2
Notes
Notes:
split repo tag: sdk_LIBREOFFICE_PRE_BOOTSTRAP_BUILD
Diffstat (limited to 'unodevtools/source/skeletonmaker/cpptypemaker.cxx')
-rw-r--r-- | unodevtools/source/skeletonmaker/cpptypemaker.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unodevtools/source/skeletonmaker/cpptypemaker.cxx b/unodevtools/source/skeletonmaker/cpptypemaker.cxx index 15ae7ae95988..ce9f4b8d95a6 100644 --- a/unodevtools/source/skeletonmaker/cpptypemaker.cxx +++ b/unodevtools/source/skeletonmaker/cpptypemaker.cxx @@ -420,8 +420,8 @@ void printMethods(std::ostream & o, o << "// ::com::sun::star::lang::XServiceName:\n" "::rtl::OUString SAL_CALL " << classname << "getServiceName() " "throw (css::uno::RuntimeException)\n{\n " - "return ::rtl::OUString::createFromAscii(" - "sADDIN_SERVICENAME);\n}\n"; + "return ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(" + "sADDIN_SERVICENAME));\n}\n"; generated.add(type); return; } else if (type.equals("com/sun/star/sheet/XAddIn")) { |