diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-13 12:44:52 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-14 09:10:59 +0200 |
commit | d8e5a0db64fa022b54bddc42b1b1db0c1ddfe2d1 (patch) | |
tree | a35f8e42f3caa97132e2dc38042c393ef8fb59f4 /sc/source/ui/unoobj/afmtuno.cxx | |
parent | 3f893fe88fa60faeb0335f1708f4f2d4b8838191 (diff) |
use more OUString::operator== in sc
Change-Id: I1a7691fe59e5e93c15bd812f03366da814f9f3db
Reviewed-on: https://gerrit.libreoffice.org/39900
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/unoobj/afmtuno.cxx')
-rw-r--r-- | sc/source/ui/unoobj/afmtuno.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/unoobj/afmtuno.cxx b/sc/source/ui/unoobj/afmtuno.cxx index 7d53c7313011..fe1e0d2553a1 100644 --- a/sc/source/ui/unoobj/afmtuno.cxx +++ b/sc/source/ui/unoobj/afmtuno.cxx @@ -152,7 +152,7 @@ static bool lcl_FindAutoFormatIndex( const ScAutoFormat& rFormats, const OUStrin { const ScAutoFormatData *const pEntry = it->second.get(); const OUString& aEntryName = pEntry->GetName(); - if ( aEntryName.equals(rName) ) + if ( aEntryName == rName ) { size_t nPos = std::distance(itBeg, it); rOutIndex = nPos; |