automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings
Done with a perl regex: s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec Reviewed-on: https://gerrit.libreoffice.org/2832 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
This commit is contained in:
@@ -185,7 +185,7 @@ SwVbaApplication::getCurrentDocument() throw (css::uno::RuntimeException)
|
||||
rtl::OUString
|
||||
SwVbaApplication::getServiceImplName()
|
||||
{
|
||||
return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("SwVbaApplication"));
|
||||
return rtl::OUString("SwVbaApplication");
|
||||
}
|
||||
|
||||
uno::Sequence< rtl::OUString >
|
||||
@@ -195,7 +195,7 @@ SwVbaApplication::getServiceNames()
|
||||
if ( aServiceNames.getLength() == 0 )
|
||||
{
|
||||
aServiceNames.realloc( 1 );
|
||||
aServiceNames[ 0 ] = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("ooo.vba.word.Application" ) );
|
||||
aServiceNames[ 0 ] = rtl::OUString("ooo.vba.word.Application" );
|
||||
}
|
||||
return aServiceNames;
|
||||
}
|
||||
|
Reference in New Issue
Block a user