summaryrefslogtreecommitdiff
path: root/cui/source/customize/cfgutil.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/customize/cfgutil.cxx')
-rw-r--r--cui/source/customize/cfgutil.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/cui/source/customize/cfgutil.cxx b/cui/source/customize/cfgutil.cxx
index 17c445d672e8..399db0ae57de 100644
--- a/cui/source/customize/cfgutil.cxx
+++ b/cui/source/customize/cfgutil.cxx
@@ -576,18 +576,18 @@ void SfxConfigGroupListBox::FillScriptList(const css::uno::Reference< css::scrip
OUString uiName = theChild->getName();
if ( bIsRootNode )
{
- if ( ! (theChild->getName().equals( user ) || theChild->getName().equals( share ) ||
- theChild->getName().equals( currentDocTitle ) ) )
+ if ( ! (theChild->getName() == user || theChild->getName() == share ||
+ theChild->getName() == currentDocTitle ) )
{
bDisplay=false;
}
else
{
- if ( uiName.equals( user ) )
+ if ( uiName == user )
{
uiName = xImp->m_sMyMacros;
}
- else if ( uiName.equals( share ) )
+ else if ( uiName == share )
{
uiName = xImp->m_sProdMacros;
}
@@ -816,7 +816,7 @@ SfxConfigGroupListBox::getDocumentModel( Reference< XComponentContext > const &
{
OUString sTdocUrl =
::comphelper::DocumentInfo::getDocumentTitle( model );
- if( sTdocUrl.equals( docName ) )
+ if( sTdocUrl == docName )
{
xModel = model;
break;