From 36398245327a03d8228cf0a2b093ae5e689d2a26 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 19 Dec 2014 09:48:23 +0100 Subject: extensions: Use appropriate OUString functions on string constants Change-Id: Ief21a59fc58cdd6fb3398bbe5080ed5a53cb374e --- extensions/source/plugin/base/xplugin.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'extensions/source/plugin') diff --git a/extensions/source/plugin/base/xplugin.cxx b/extensions/source/plugin/base/xplugin.cxx index a151bc98f4b8..1675d7ed3ff5 100644 --- a/extensions/source/plugin/base/xplugin.cxx +++ b/extensions/source/plugin/base/xplugin.cxx @@ -312,7 +312,7 @@ void XPlugin_Impl::handleSpecialArgs() { // special handling for real audio which needs a lot of parameters // or won't function at all - if( m_aDescription.Mimetype.equalsAscii( "audio/x-pn-realaudio-plugin" ) && m_nArgs < 1 ) + if( m_aDescription.Mimetype == "audio/x-pn-realaudio-plugin" && m_nArgs < 1 ) { OUString aURL; if( m_xModel.is() ) @@ -356,7 +356,7 @@ void XPlugin_Impl::handleSpecialArgs() } } // #69333# special for pdf - else if( m_aDescription.Mimetype.equalsAscii( "application/pdf" ) ) + else if( m_aDescription.Mimetype == "application/pdf" ) m_aPluginMode = PluginMode::FULL; // see if we have a TYPE tag @@ -847,7 +847,7 @@ void XPlugin_Impl::propertyChange(const com::sun::star::beans::PropertyChangeEve { Guard< Mutex > aGuard( m_aMutex ); - if( rEvent.PropertyName.equalsAscii( "URL" ) ) + if( rEvent.PropertyName == "URL" ) { OUString aStr; rEvent.NewValue >>= aStr; -- cgit