diff options
author | Szabolcs Dezsi <dezsiszabi@hotmail.com> | 2012-04-06 12:25:24 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2012-04-06 12:48:32 +0200 |
commit | f770c5d6bc7fd54f3cd3781d250820b5e86922e7 (patch) | |
tree | 70b2267c1eaa4727e769f463bfd99f1e94a808df /sdext/source/minimizer | |
parent | 0168b4e6ec645ab3706a1c6104b2aba4a7002536 (diff) |
Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
Pattern used:
find . -name "*.cxx" -exec sed -i 's/\( *\)return \([^()]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\) ) *);/\1return \2 == \3;/' \{\} \;
Diffstat (limited to 'sdext/source/minimizer')
-rw-r--r-- | sdext/source/minimizer/pppoptimizer.cxx | 2 | ||||
-rw-r--r-- | sdext/source/minimizer/pppoptimizerdialog.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sdext/source/minimizer/pppoptimizer.cxx b/sdext/source/minimizer/pppoptimizer.cxx index 13bf953d25b8..ae6f5d7d504c 100644 --- a/sdext/source/minimizer/pppoptimizer.cxx +++ b/sdext/source/minimizer/pppoptimizer.cxx @@ -86,7 +86,7 @@ OUString SAL_CALL PPPOptimizer::getImplementationName() sal_Bool SAL_CALL PPPOptimizer::supportsService( const OUString& rServiceName ) throw ( RuntimeException ) { - return rServiceName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( SERVICE_NAME ) ); + return rServiceName == SERVICE_NAME; } Sequence< OUString > SAL_CALL PPPOptimizer::getSupportedServiceNames() diff --git a/sdext/source/minimizer/pppoptimizerdialog.cxx b/sdext/source/minimizer/pppoptimizerdialog.cxx index 3bff359ae27e..b074647334a5 100644 --- a/sdext/source/minimizer/pppoptimizerdialog.cxx +++ b/sdext/source/minimizer/pppoptimizerdialog.cxx @@ -84,7 +84,7 @@ OUString SAL_CALL PPPOptimizerDialog::getImplementationName() sal_Bool SAL_CALL PPPOptimizerDialog::supportsService( const OUString& ServiceName ) throw ( RuntimeException ) { - return ServiceName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( SERVICE_NAME ) ); + return ServiceName == SERVICE_NAME; } Sequence< OUString > SAL_CALL PPPOptimizerDialog::getSupportedServiceNames() |