Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator

Pattern used:

find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\) ) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
This commit is contained in:
Szabolcs Dezsi
2012-04-06 14:28:18 +02:00
committed by Jan Holesovsky
parent 6cf547f02c
commit 8a01ee6243
204 changed files with 1041 additions and 1041 deletions

View File

@@ -1768,7 +1768,7 @@ void StringResourcePersistenceImpl::implScanLocaleNames( const Sequence< ::rtl::
aExtension = aCompleteName.copy( iDot + 1 );
}
if( aExtension.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "properties" ) ) )
if ( aExtension == "properties" )
{
//rtl::OUString aName = aInetObj.getBase();
Locale aLocale;