diff options
Diffstat (limited to 'include/comphelper/stl_types.hxx')
-rw-r--r-- | include/comphelper/stl_types.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/comphelper/stl_types.hxx b/include/comphelper/stl_types.hxx index 28f3a14ad6a6..b9bfbe3778b7 100644 --- a/include/comphelper/stl_types.hxx +++ b/include/comphelper/stl_types.hxx @@ -49,9 +49,9 @@ public: bool operator() (const OUString& x, const OUString& y) const { if (m_bCaseSensitive) - return rtl_ustr_compare(x.getStr(), y.getStr()) < 0 ? true : false; + return rtl_ustr_compare(x.getStr(), y.getStr()) < 0; else - return rtl_ustr_compareIgnoreAsciiCase(x.getStr(), y.getStr()) < 0 ? true : false; + return rtl_ustr_compareIgnoreAsciiCase(x.getStr(), y.getStr()) < 0; } bool isCaseSensitive() const {return m_bCaseSensitive;} |