From f770c5d6bc7fd54f3cd3781d250820b5e86922e7 Mon Sep 17 00:00:00 2001 From: Szabolcs Dezsi Date: Fri, 6 Apr 2012 12:25:24 +0200 Subject: Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator Pattern used: find . -name "*.cxx" -exec sed -i 's/\( *\)return \([^()]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\) ) *);/\1return \2 == \3;/' \{\} \; --- svtools/source/filter/SvFilterOptionsDialog.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svtools') diff --git a/svtools/source/filter/SvFilterOptionsDialog.cxx b/svtools/source/filter/SvFilterOptionsDialog.cxx index d836c75aae75..a2e7d8b1d4af 100644 --- a/svtools/source/filter/SvFilterOptionsDialog.cxx +++ b/svtools/source/filter/SvFilterOptionsDialog.cxx @@ -69,7 +69,7 @@ OUString SvFilterOptionsDialog_getImplementationName() sal_Bool SAL_CALL SvFilterOptionsDialog_supportsService( const OUString& ServiceName ) throw( uno::RuntimeException ) { - return ServiceName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( SERVICE_NAME ) ); + return ServiceName == SERVICE_NAME; } uno::Sequence< OUString > SAL_CALL SvFilterOptionsDialog_getSupportedServiceNames() -- cgit