summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-13 12:43:20 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-13 15:20:58 +0200
commit3697b87b70c69e17e1d0398e0192a11dab179fe3 (patch)
treea498cce1f1351e6f92385aa9245c66c0724b6430 /lotuswordpro
parent9bc95521aaa35b533894b3934519acdbd7a47815 (diff)
use more OUString::operator== in forms..sal
Change-Id: I70d7e50f8c1e019524ccad915f0cca912c5035dc Reviewed-on: https://gerrit.libreoffice.org/39899 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'lotuswordpro')
-rw-r--r--lotuswordpro/source/filter/lwpfootnote.cxx2
-rw-r--r--lotuswordpro/source/filter/lwpproplist.cxx2
2 files changed, 2 insertions, 2 deletions
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)