summaryrefslogtreecommitdiff
path: root/sfx2/source/sidebar/ResourceManager.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-14 09:25:41 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-14 10:19:27 +0200
commit6af025501db1f25397bdbf1fdd6b71da4debcac4 (patch)
tree19f627e7ed7da45efa4c5bbf6bad8ed148fd6551 /sfx2/source/sidebar/ResourceManager.cxx
parent8e39ef66928a3e37c618d3a70a631e71266db274 (diff)
use more OUString::operator== in sfx2..svtools
Change-Id: I859b77319f551eabd19dae54bd69c212221112a8 Reviewed-on: https://gerrit.libreoffice.org/39938 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/sidebar/ResourceManager.cxx')
-rw-r--r--sfx2/source/sidebar/ResourceManager.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sfx2/source/sidebar/ResourceManager.cxx b/sfx2/source/sidebar/ResourceManager.cxx
index 140190228f01..83ff5337dd6e 100644
--- a/sfx2/source/sidebar/ResourceManager.cxx
+++ b/sfx2/source/sidebar/ResourceManager.cxx
@@ -133,7 +133,7 @@ std::shared_ptr<DeckDescriptor> ResourceManager::ImplGetDeckDescriptor(const OUS
if (rDeck->mbExperimental && !maMiscOptions.IsExperimentalMode())
continue;
- if (rDeck->msId.equals(rsDeckId))
+ if (rDeck->msId == rsDeckId)
return rDeck;
}
return nullptr;
@@ -151,7 +151,7 @@ std::shared_ptr<PanelDescriptor> ResourceManager::ImplGetPanelDescriptor(const O
{
const std::shared_ptr<PanelDescriptor>& rPanel = *iPanel;
- if (rPanel->msId.equals(rsPanelId))
+ if (rPanel->msId == rsPanelId)
return rPanel;
}
return nullptr;
@@ -221,7 +221,7 @@ const ResourceManager::PanelContextDescriptorContainer& ResourceManager::GetMatc
const PanelDescriptor& rPanelDescriptor (*rPanel);
if (rPanelDescriptor.mbExperimental && !maMiscOptions.IsExperimentalMode())
continue;
- if ( ! rPanelDescriptor.msDeckId.equals(sDeckId))
+ if ( rPanelDescriptor.msDeckId != sDeckId )
continue;
const ContextList::Entry* pEntry = rPanelDescriptor.maContextList.GetMatch(rContext);
@@ -470,7 +470,7 @@ void ResourceManager::ReadContextList (
vcl::EnumContext::Application eApplication (vcl::EnumContext::GetApplicationEnum(sApplicationName));
if (eApplication == vcl::EnumContext::Application::NONE
- && !sApplicationName.equals(vcl::EnumContext::GetApplicationName(vcl::EnumContext::Application::NONE)))
+ && sApplicationName != vcl::EnumContext::GetApplicationName(vcl::EnumContext::Application::NONE))
{
// Handle some special names: abbreviations that make
// context descriptions more readable.
@@ -636,7 +636,7 @@ void ResourceManager::StorePanelExpansionState (
{
const std::shared_ptr<PanelDescriptor>& rPanel = *iPanel;
- if (rPanel->msId.equals(rsPanelId))
+ if (rPanel->msId == rsPanelId)
{
ContextList::Entry* pEntry(rPanel->maContextList.GetMatch(rContext));
if (pEntry != nullptr)