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:
Thomas Arnhold
2013-03-19 09:22:44 +01:00
parent fe8eba5faa
commit 8b27d78b4a
1024 changed files with 6337 additions and 6666 deletions

View File

@@ -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;
}