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 /basegfx | |
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 'basegfx')
-rw-r--r-- | basegfx/source/tools/unopolypolygon.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basegfx/source/tools/unopolypolygon.cxx b/basegfx/source/tools/unopolypolygon.cxx index 2ffaabd149c4..d209be7309c4 100644 --- a/basegfx/source/tools/unopolypolygon.cxx +++ b/basegfx/source/tools/unopolypolygon.cxx @@ -454,7 +454,7 @@ namespace unotools sal_Bool SAL_CALL UnoPolyPolygon::supportsService( const ::rtl::OUString& ServiceName ) throw( uno::RuntimeException ) { - return ServiceName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM ( SERVICE_NAME ) ); + return ServiceName == SERVICE_NAME; } uno::Sequence< ::rtl::OUString > SAL_CALL UnoPolyPolygon::getSupportedServiceNames() throw( uno::RuntimeException ) |