summaryrefslogtreecommitdiff
path: root/toolkit
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 /toolkit
parent0168b4e6ec645ab3706a1c6104b2aba4a7002536 (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 'toolkit')
-rw-r--r--toolkit/source/controls/tree/treedatamodel.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/source/controls/tree/treedatamodel.cxx b/toolkit/source/controls/tree/treedatamodel.cxx
index 8854c4c2f0ac..426f179b14d1 100644
--- a/toolkit/source/controls/tree/treedatamodel.cxx
+++ b/toolkit/source/controls/tree/treedatamodel.cxx
@@ -651,7 +651,7 @@ OUString SAL_CALL MutableTreeNode::getImplementationName( ) throw (RuntimeExcep
sal_Bool SAL_CALL MutableTreeNode::supportsService( const OUString& ServiceName ) throw (RuntimeException)
{
::osl::Guard< ::osl::Mutex > aGuard( maMutex );
- return ServiceName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "com.sun.star.awt.tree.MutableTreeNode" ) );
+ return ServiceName == "com.sun.star.awt.tree.MutableTreeNode";
}
//---------------------------------------------------------------------