diff options
Diffstat (limited to 'sfx2/source/control/unoctitm.cxx')
-rw-r--r-- | sfx2/source/control/unoctitm.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx index f78dd308ec62..005db6e6b1a4 100644 --- a/sfx2/source/control/unoctitm.cxx +++ b/sfx2/source/control/unoctitm.cxx @@ -422,8 +422,7 @@ void SfxOfficeDispatch::SetMasterUnoCommand( sal_Bool bSet ) // Determine if URL contains a master/slave command which must be handled a little bit different sal_Bool SfxOfficeDispatch::IsMasterUnoCommand( const ::com::sun::star::util::URL& aURL ) { - if ( aURL.Protocol.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( ".uno:" ) ) && - ( aURL.Path.indexOf( '.' ) > 0 )) + if ( aURL.Protocol == ".uno:" && ( aURL.Path.indexOf( '.' ) > 0 )) return sal_True; return sal_False; @@ -458,7 +457,7 @@ SfxDispatchController_Impl::SfxDispatchController_Impl( , bVisible( sal_True ) , pUnoName( pSlot->pUnoName ) { - if ( aDispatchURL.Protocol.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("slot:")) && pUnoName ) + if ( aDispatchURL.Protocol == "slot:" && pUnoName ) { rtl::OStringBuffer aTmp(RTL_CONSTASCII_STRINGPARAM(".uno:")); aTmp.append(pUnoName); |