summaryrefslogtreecommitdiff
path: root/include/comphelper/stl_types.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/comphelper/stl_types.hxx')
-rw-r--r--include/comphelper/stl_types.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/comphelper/stl_types.hxx b/include/comphelper/stl_types.hxx
index 77714d13dc4f..011a4f9b7f0d 100644
--- a/include/comphelper/stl_types.hxx
+++ b/include/comphelper/stl_types.hxx
@@ -42,9 +42,9 @@ public:
bool operator() (const OUString& x, const OUString& y) const
{
if (m_bCaseSensitive)
- return rtl_ustr_compare(x.getStr(), y.getStr()) < 0;
+ return x.compareTo(y) < 0;
else
- return rtl_ustr_compareIgnoreAsciiCase(x.getStr(), y.getStr()) < 0;
+ return x.compareToIgnoreAsciiCase(y) < 0;
}
bool isCaseSensitive() const {return m_bCaseSensitive;}