summaryrefslogtreecommitdiff
path: root/scripting
diff options
context:
space:
mode:
Diffstat (limited to 'scripting')
-rw-r--r--scripting/source/provider/BrowseNodeFactoryImpl.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripting/source/provider/BrowseNodeFactoryImpl.cxx b/scripting/source/provider/BrowseNodeFactoryImpl.cxx
index eeb5cd0977b7..854dd312bd86 100644
--- a/scripting/source/provider/BrowseNodeFactoryImpl.cxx
+++ b/scripting/source/provider/BrowseNodeFactoryImpl.cxx
@@ -38,6 +38,7 @@
#include <vector>
#include <algorithm>
#include <memory>
+#include <string_view>
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
@@ -141,7 +142,7 @@ public:
struct alphaSort
{
- bool operator()( const OUString& a, const OUString& b )
+ bool operator()( const OUString& a, std::u16string_view b )
{
return a.compareTo( b ) < 0;
}