summaryrefslogtreecommitdiffstats
path: root/sdext
diff options
context:
space:
mode:
authorSzabolcs Dezsi <dezsiszabi@hotmail.com>2012-04-06 12:25:24 +0200
committerJan Holesovsky <kendy@suse.cz>2012-04-06 12:48:32 +0200
commitf770c5d6bc7fd54f3cd3781d250820b5e86922e7 (patch)
tree70b2267c1eaa4727e769f463bfd99f1e94a808df /sdext
parentmake add_custom_headers better (diff)
downloadcore-f770c5d6bc7fd54f3cd3781d250820b5e86922e7.tar.gz
core-f770c5d6bc7fd54f3cd3781d250820b5e86922e7.zip
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')
-rw-r--r--sdext/source/minimizer/pppoptimizer.cxx2
-rw-r--r--sdext/source/minimizer/pppoptimizerdialog.cxx2
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()