summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
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";
}
//---------------------------------------------------------------------