summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extensions/source/plugin/base/xplugin.cxx6
1 files changed, 3 insertions, 3 deletions
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;