removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarations
s/(OUString\s+[a-zA-Z_][A-Za-z0-9_]*\s*)\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/$1\($2\)/gms Change-Id: Iad20f242c80c4bdc69df17e2d7a69d58ea53654b Reviewed-on: https://gerrit.libreoffice.org/2835 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
This commit is contained in:
@@ -392,7 +392,7 @@ struct TransformEventTo60Format : public ::std::unary_function< ScriptEventDescr
|
||||
if ( _rDescriptor.ScriptCode.indexOf( ':' ) < 0 )
|
||||
{ // the macro name does not already contain a :
|
||||
// -> default the type to "document"
|
||||
::rtl::OUString sNewScriptCode( RTL_CONSTASCII_USTRINGPARAM( "document:" ) );
|
||||
::rtl::OUString sNewScriptCode( "document:" );
|
||||
sNewScriptCode += _rDescriptor.ScriptCode;
|
||||
_rDescriptor.ScriptCode = sNewScriptCode;
|
||||
}
|
||||
|
Reference in New Issue
Block a user