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 /unotools/source/i18n/textsearch.cxx | |
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 'unotools/source/i18n/textsearch.cxx')
-rw-r--r-- | unotools/source/i18n/textsearch.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unotools/source/i18n/textsearch.cxx b/unotools/source/i18n/textsearch.cxx index 1eef0b5415d4..06def7e5d8ed 100644 --- a/unotools/source/i18n/textsearch.cxx +++ b/unotools/source/i18n/textsearch.cxx @@ -86,8 +86,8 @@ static bool lcl_Equals( const i18nutil::SearchOptions2& rSO1, const i18nutil::Se rSO1.WildcardEscapeCharacter == rSO2.WildcardEscapeCharacter && rSO1.algorithmType == rSO2.algorithmType && rSO1.searchFlag == rSO2.searchFlag && - rSO1.searchString.equals(rSO2.searchString) && - rSO1.replaceString.equals(rSO2.replaceString) && + rSO1.searchString == rSO2.searchString && + rSO1.replaceString == rSO2.replaceString && rSO1.changedChars == rSO2.changedChars && rSO1.deletedChars == rSO2.deletedChars && rSO1.insertedChars == rSO2.insertedChars && |