From 3697b87b70c69e17e1d0398e0192a11dab179fe3 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 13 Jul 2017 12:43:20 +0200 Subject: use more OUString::operator== in forms..sal Change-Id: I70d7e50f8c1e019524ccad915f0cca912c5035dc Reviewed-on: https://gerrit.libreoffice.org/39899 Tested-by: Jenkins Reviewed-by: Noel Grandin --- lotuswordpro/source/filter/lwpfootnote.cxx | 2 +- lotuswordpro/source/filter/lwpproplist.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lotuswordpro') diff --git a/lotuswordpro/source/filter/lwpfootnote.cxx b/lotuswordpro/source/filter/lwpfootnote.cxx index 0c4dbd6ec5f9..5ed5611b1c2f 100644 --- a/lotuswordpro/source/filter/lwpfootnote.cxx +++ b/lotuswordpro/source/filter/lwpfootnote.cxx @@ -363,7 +363,7 @@ LwpEnSuperTableLayout* LwpFootnote::FindFootnoteTableLayout() LwpContent* pContent = nullptr; while ((pContent = pFoundry->EnumContents(pContent)) != nullptr) - if (pContent->IsTable() && (strClassName.equals(pContent->GetClassName())) && + if (pContent->IsTable() && (strClassName == pContent->GetClassName()) && pContent->IsActive() && pContent->GetLayout(nullptr).is()) { // Found it! diff --git a/lotuswordpro/source/filter/lwpproplist.cxx b/lotuswordpro/source/filter/lwpproplist.cxx index 3ecc26782201..69587e80e936 100644 --- a/lotuswordpro/source/filter/lwpproplist.cxx +++ b/lotuswordpro/source/filter/lwpproplist.cxx @@ -80,7 +80,7 @@ void LwpPropListElement::Read() bool LwpPropListElement::IsNamed(const OUString& name) { - return name.equals(m_Name.str()); + return name == m_Name.str(); } OUString LwpPropList::GetNamedProperty(const OUString& name) -- cgit