summaryrefslogtreecommitdiff
path: root/scripting
diff options
context:
space:
mode:
Diffstat (limited to 'scripting')
-rw-r--r--scripting/source/provider/BrowseNodeFactoryImpl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripting/source/provider/BrowseNodeFactoryImpl.cxx b/scripting/source/provider/BrowseNodeFactoryImpl.cxx
index b18db2bbce31..23eb2f203630 100644
--- a/scripting/source/provider/BrowseNodeFactoryImpl.cxx
+++ b/scripting/source/provider/BrowseNodeFactoryImpl.cxx
@@ -143,9 +143,9 @@ public:
struct alphaSort
{
- bool operator()( const OUString& a, std::u16string_view b )
+ bool operator()( std::u16string_view a, std::u16string_view b )
{
- return a.compareTo( b ) < 0;
+ return a.compare( b ) < 0;
}
};
class LocationBrowseNode :