diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/comphelper/stl_types.hxx | 4 | ||||
-rw-r--r-- | include/tools/inetmime.hxx | 2 |
2 files changed, 3 insertions, 3 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;} diff --git a/include/tools/inetmime.hxx b/include/tools/inetmime.hxx index cd66173a8d6c..37a0288cd1d2 100644 --- a/include/tools/inetmime.hxx +++ b/include/tools/inetmime.hxx @@ -181,7 +181,7 @@ public: parameters will be modified. */ static sal_Unicode const * scanContentType( - sal_Unicode const *pBegin, sal_Unicode const * pEnd, + OUString const & rStr, OUString * pType = nullptr, OUString * pSubType = nullptr, INetContentTypeParameterList * pParameters = nullptr); |