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:
@@ -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,
|
||||
|
Reference in New Issue
Block a user