diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-07 12:14:59 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-14 12:39:20 +0200 |
commit | daf177f703081d7afaa9b1701cf187c9a3e93ee5 (patch) | |
tree | 32e5bc14b5707777795ac26089c402cc3e93c2e3 /xmloff/source/style | |
parent | 3ef7e85deb7afde6c9453c30be0a7893528a90a1 (diff) |
use more OUString::operator== in test..xmlsecurity
Change-Id: If5bdd1532be44a47ff7cc3b769be3ea585aea562
Reviewed-on: https://gerrit.libreoffice.org/39685
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/source/style')
-rw-r--r-- | xmloff/source/style/xmlexppr.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/style/xmlnumfi.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/style/xmlprmap.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/xmloff/source/style/xmlexppr.cxx b/xmloff/source/style/xmlexppr.cxx index 3e9571195719..d11b5ed37fef 100644 --- a/xmloff/source/style/xmlexppr.cxx +++ b/xmloff/source/style/xmlexppr.cxx @@ -238,7 +238,7 @@ const uno::Sequence<OUString>& FilterPropertiesInfo_Impl::GetApiNames() while ( aCurrent != aEnd ) { // equal to next element? - if ( aOld->GetApiName().equals( aCurrent->GetApiName() ) ) + if ( aOld->GetApiName() == aCurrent->GetApiName() ) { // if equal: merge index lists aOld->GetIndexes().merge( aCurrent->GetIndexes() ); diff --git a/xmloff/source/style/xmlnumfi.cxx b/xmloff/source/style/xmlnumfi.cxx index 6f4ba5d86949..f6f1574e0136 100644 --- a/xmloff/source/style/xmlnumfi.cxx +++ b/xmloff/source/style/xmlnumfi.cxx @@ -1117,7 +1117,7 @@ void SvXMLNumFmtElementContext::EndElement() { case XML_TOK_STYLE_TEXT: if ( rParent.HasLongDoW() && - aContent.toString().equals(rParent.GetLocaleData().getLongDateDayOfWeekSep()) ) + aContent.toString() == rParent.GetLocaleData().getLongDateDayOfWeekSep() ) { // skip separator constant after long day of week // (NF_KEY_NNNN contains the separator) diff --git a/xmloff/source/style/xmlprmap.cxx b/xmloff/source/style/xmlprmap.cxx index a287408f00d2..634e50afcf7f 100644 --- a/xmloff/source/style/xmlprmap.cxx +++ b/xmloff/source/style/xmlprmap.cxx @@ -303,7 +303,7 @@ sal_Int32 XMLPropertySetMapper::FindEntryIndex( { const XMLPropertySetMapperEntry_Impl& rEntry = mpImpl->maMapEntries[nIndex]; if( rEntry.nXMLNameSpace == nNameSpace && - rEntry.sXMLAttributeName.equals( sXMLName ) && + rEntry.sXMLAttributeName == sXMLName && rEntry.sAPIPropertyName.equalsAscii( sApiName ) ) return nIndex; else |