remove unnecessary RTL_CONSTASCII_STRINGPARAM in appendAscii calls

Convert code like:
    aStrBuf.appendAscii( RTL_CONSTASCII_STRINGPARAM( "ln(x)" ));
to:
    aStrBuf.append( "ln(x)" );
which compiles down to the same code.

Change-Id: I24c7cb45ceb32fd7cd6ec7ed203c2a5d746f1c5c
This commit is contained in:
Noel Grandin
2013-11-19 17:06:06 +02:00
parent 3af99e4d59
commit 52bbd9cc00
65 changed files with 354 additions and 389 deletions

View File

@@ -34,10 +34,10 @@ namespace cppu { namespace detail {
::oslModule loadModule(rtl::OUString const & name) {
rtl::OUStringBuffer b;
#if defined SAL_DLLPREFIX
b.appendAscii(RTL_CONSTASCII_STRINGPARAM(SAL_DLLPREFIX));
b.append(SAL_DLLPREFIX);
#endif
b.append(name);
b.appendAscii(RTL_CONSTASCII_STRINGPARAM(SAL_DLLEXTENSION));
b.append(SAL_DLLEXTENSION);
return ::osl_loadModuleRelative(
reinterpret_cast< oslGenericFunction >(&loadModule),
b.makeStringAndClear().pData,