summaryrefslogtreecommitdiff
path: root/sw/source/ui/config
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-14 10:34:45 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-14 11:42:53 +0200
commit5838c0fe8e9244c2cefbd2f3c3554fdd2bfc5ee1 (patch)
treefaa90bfd319e2f5c62de4aff8daa2563651d3025 /sw/source/ui/config
parent4ccd802d9a0530ec74b52d2ad7fbaa2d085223cb (diff)
use more OUString::operator== in sw
Change-Id: If43c8bfa906fc711ed8026a1e06add3d7ac166d9 Reviewed-on: https://gerrit.libreoffice.org/39941 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/ui/config')
-rw-r--r--sw/source/ui/config/optload.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/config/optload.cxx b/sw/source/ui/config/optload.cxx
index 2a542d3b7da0..a994ee54484d 100644
--- a/sw/source/ui/config/optload.cxx
+++ b/sw/source/ui/config/optload.cxx
@@ -479,7 +479,7 @@ SwCaptionOptPage::SwCaptionOptPage(vcl::Window* pParent, const SfxItemSet& rSet)
{
SwFieldType* pFieldType = pMgr->GetFieldType(SwFieldIds::Unknown, --i);
if (!pFieldType->GetName().isEmpty()
- && pFieldType->GetName().equals(m_pCategoryBox->GetText()))
+ && pFieldType->GetName() == m_pCategoryBox->GetText())
{
nSelFormat = (sal_uInt16)static_cast<SwSetExpFieldType*>(pFieldType)->GetSeqFormat();
break;