summaryrefslogtreecommitdiff
path: root/cui
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 /cui
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 'cui')
-rw-r--r--cui/source/dialogs/colorpicker.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/dialogs/colorpicker.cxx b/cui/source/dialogs/colorpicker.cxx
index b39b7381b396..40f73027bb31 100644
--- a/cui/source/dialogs/colorpicker.cxx
+++ b/cui/source/dialogs/colorpicker.cxx
@@ -1588,7 +1588,7 @@ OUString SAL_CALL ColorPicker::getImplementationName( ) throw (RuntimeException
sal_Bool SAL_CALL ColorPicker::supportsService( const OUString& sServiceName ) throw (RuntimeException)
{
- return sServiceName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "com.sun.star.ui.dialogs.ColorPicker" ) );
+ return sServiceName == "com.sun.star.ui.dialogs.ColorPicker";
}
// --------------------------------------------------------------------