diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-14 10:34:45 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-14 11:42:53 +0200 |
commit | 5838c0fe8e9244c2cefbd2f3c3554fdd2bfc5ee1 (patch) | |
tree | faa90bfd319e2f5c62de4aff8daa2563651d3025 /sw/source/uibase/utlui | |
parent | 4ccd802d9a0530ec74b52d2ad7fbaa2d085223cb (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/uibase/utlui')
-rw-r--r-- | sw/source/uibase/utlui/content.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/utlui/content.cxx b/sw/source/uibase/utlui/content.cxx index 88862a02a7b2..20c6ee6c028b 100644 --- a/sw/source/uibase/utlui/content.cxx +++ b/sw/source/uibase/utlui/content.cxx @@ -3420,7 +3420,7 @@ void SwContentTree::GotoContent(SwContent* pCnt) for( size_t i=0; i<nCount; ++i ) { SdrObject* pTemp = pPage->GetObj(i); - if (pTemp->GetName().equals(pCnt->GetName())) + if (pTemp->GetName() == pCnt->GetName()) { SdrPageView* pPV = pDrawView->GetSdrPageView(); if( pPV ) |