diff options
Diffstat (limited to 'include/editeng/svxacorr.hxx')
-rw-r--r-- | include/editeng/svxacorr.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/editeng/svxacorr.hxx b/include/editeng/svxacorr.hxx index 52f7bfdd5271..4e5d929405f0 100644 --- a/include/editeng/svxacorr.hxx +++ b/include/editeng/svxacorr.hxx @@ -31,6 +31,7 @@ #include <optional> #include <map> #include <memory> +#include <string_view> class CharClass; class SfxPoolItem; @@ -43,7 +44,7 @@ namespace tools { template <typename T> class SvRef; } struct CompareSvStringsISortDtor { - bool operator()( OUString const& lhs, OUString const& rhs ) const + bool operator()( OUString const& lhs, std::u16string_view rhs ) const { return lhs.compareToIgnoreAsciiCase( rhs ) < 0; } |