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 /xmloff | |
parent | make add_custom_headers better (diff) | |
download | core-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 'xmloff')
-rw-r--r-- | xmloff/source/draw/animationimport.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/draw/animationimport.cxx b/xmloff/source/draw/animationimport.cxx index f0c9019d2d79..9eaf9a31bb47 100644 --- a/xmloff/source/draw/animationimport.cxx +++ b/xmloff/source/draw/animationimport.cxx @@ -1479,7 +1479,7 @@ OUString SAL_CALL AnimationsImport::getImplementationName() throw(RuntimeExcepti sal_Bool SAL_CALL AnimationsImport::supportsService( const OUString& ServiceName ) throw(RuntimeException) { - return ServiceName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "com.sun.star.comp.Xmloff.AnimationsImport" ) ); + return ServiceName == "com.sun.star.comp.Xmloff.AnimationsImport"; } Sequence< OUString > SAL_CALL AnimationsImport::getSupportedServiceNames() throw(RuntimeException) |