diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-01-15 21:13:41 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-01-15 21:13:41 +0000 |
commit | b1b10adec4c2730640e09aee8afed7ef393e338f (patch) | |
tree | 229832294557b8d7c7bbf8e6913c516a9a1264b2 /desktop/source | |
parent | e25d8eb4ae77230a4f98bd811d6be647b69ace6c (diff) |
microopts equalsAsciiL faster than compareToAscii(const sal_Char*)
Diffstat (limited to 'desktop/source')
-rw-r--r-- | desktop/source/app/desktopcontext.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/app/desktopcontext.cxx b/desktop/source/app/desktopcontext.cxx index 8a9b14e351cd..bed77fae9f69 100644 --- a/desktop/source/app/desktopcontext.cxx +++ b/desktop/source/app/desktopcontext.cxx @@ -49,7 +49,7 @@ Any SAL_CALL DesktopContext::getValueByName( const OUString& Name) throw (Runtim { Any retVal; - if ( 0 == Name.compareToAscii( JAVA_INTERACTION_HANDLER_NAME )) + if (Name.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(JAVA_INTERACTION_HANDLER_NAME))) { retVal = makeAny( Reference< XInteractionHandler >( new svt::JavaInteractionHandler()) ); } |