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 /framework | |
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 'framework')
-rw-r--r-- | framework/source/lomenubar/DesktopJob.cxx | 2 | ||||
-rw-r--r-- | framework/source/lomenubar/FrameJob.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/lomenubar/DesktopJob.cxx b/framework/source/lomenubar/DesktopJob.cxx index da49d2abbf11..1bfc4a98a984 100644 --- a/framework/source/lomenubar/DesktopJob.cxx +++ b/framework/source/lomenubar/DesktopJob.cxx @@ -119,7 +119,7 @@ sal_Bool SAL_CALL DesktopJob_supportsService( const OUString& ServiceName ) throw (RuntimeException) { - return ServiceName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM ( DESKTOPJOB_SERVICE_NAME ) ); + return ServiceName == DESKTOPJOB_SERVICE_NAME; } Sequence< OUString > SAL_CALL diff --git a/framework/source/lomenubar/FrameJob.cxx b/framework/source/lomenubar/FrameJob.cxx index cb3643c617a8..f31fde0ced83 100644 --- a/framework/source/lomenubar/FrameJob.cxx +++ b/framework/source/lomenubar/FrameJob.cxx @@ -360,7 +360,7 @@ OUString FrameJob_getImplementationName () sal_Bool SAL_CALL FrameJob_supportsService( const OUString& ServiceName ) throw (RuntimeException) { - return ServiceName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM ( FRAMEJOB_SERVICE_NAME ) ); + return ServiceName == FRAMEJOB_SERVICE_NAME; } Sequence< OUString > SAL_CALL FrameJob_getSupportedServiceNames( ) |