From 3697b87b70c69e17e1d0398e0192a11dab179fe3 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 13 Jul 2017 12:43:20 +0200 Subject: use more OUString::operator== in forms..sal Change-Id: I70d7e50f8c1e019524ccad915f0cca912c5035dc Reviewed-on: https://gerrit.libreoffice.org/39899 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/comphelper/stl_types.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/comphelper') diff --git a/include/comphelper/stl_types.hxx b/include/comphelper/stl_types.hxx index bb50c21a7e8c..77714d13dc4f 100644 --- a/include/comphelper/stl_types.hxx +++ b/include/comphelper/stl_types.hxx @@ -58,7 +58,7 @@ public: UStringMixEqual(bool bCaseSensitive = true):m_bCaseSensitive(bCaseSensitive){} bool operator() (const OUString& lhs, const OUString& rhs) const { - return m_bCaseSensitive ? lhs.equals( rhs ) : lhs.equalsIgnoreAsciiCase( rhs ); + return m_bCaseSensitive ? lhs == rhs : lhs.equalsIgnoreAsciiCase( rhs ); } bool isCaseSensitive() const {return m_bCaseSensitive;} }; -- cgit