summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-19 09:48:23 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-19 10:03:51 +0100
commit36398245327a03d8228cf0a2b093ae5e689d2a26 (patch)
treefbd785512eff34c59acbe286ee1219a4e1039ad6 /extensions
parent4524c5dd47b90701e7f068c2978454828f646414 (diff)
extensions: Use appropriate OUString functions on string constants
Change-Id: Ief21a59fc58cdd6fb3398bbe5080ed5a53cb374e
Diffstat (limited to 'extensions')
-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;