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/skeletoncommon.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/skeletoncommon.cxx')
-rw-r--r-- | unodevtools/source/skeletonmaker/skeletoncommon.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/unodevtools/source/skeletonmaker/skeletoncommon.cxx b/unodevtools/source/skeletonmaker/skeletoncommon.cxx index 188e0fa05101..6452bace295c 100644 --- a/unodevtools/source/skeletonmaker/skeletoncommon.cxx +++ b/unodevtools/source/skeletonmaker/skeletoncommon.cxx @@ -669,9 +669,9 @@ void generateFunctionParamterMap(std::ostream& o, for ( sal_uInt16 p = 0; p < reader.getMethodParameterCount(m); ++p ) { if ( options.language == 2 ) { o << " fpm[" << p - << "] = ::rtl::OUString::createFromAscii(\"" + << "] = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(\"" << codemaker::convertString(reader.getMethodParameterName(m, p)) - << "\");\n"; + << "\"));\n"; } else { if ( options.java5 ) @@ -688,8 +688,8 @@ void generateFunctionParamterMap(std::ostream& o, } if ( options.language == 2 ) { - o << " m_functionMap[::rtl::OUString::createFromAscii(\"" - << sMethod << "\")] = fpm;\n\n"; + o << " m_functionMap[::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(\"" + << sMethod << "\"))] = fpm;\n\n"; } else { o << " m_functionMap.put(\"" << sMethod << "\", fpm);\n\n"; |