summaryrefslogtreecommitdiff
path: root/sc/source/filter/oox/workbookhelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/oox/workbookhelper.cxx')
-rw-r--r--sc/source/filter/oox/workbookhelper.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sc/source/filter/oox/workbookhelper.cxx b/sc/source/filter/oox/workbookhelper.cxx
index 322986e9ba25..1f07567f1672 100644
--- a/sc/source/filter/oox/workbookhelper.cxx
+++ b/sc/source/filter/oox/workbookhelper.cxx
@@ -74,6 +74,7 @@
#include <editutil.hxx>
#include <editeng/editstat.hxx>
#include <unotools/charclass.hxx>
+#include <o3tl/string_view.hxx>
#include <ViewSettingsSequenceDefines.hxx>
#include <memory>
@@ -93,10 +94,10 @@ using ::oox::core::FilterBase;
using ::oox::core::FragmentHandler;
using ::oox::core::XmlFilterBase;
-bool IgnoreCaseCompare::operator()( const OUString& rName1, std::u16string_view rName2 ) const
+bool IgnoreCaseCompare::operator()( std::u16string_view rName1, std::u16string_view rName2 ) const
{
// TODO: compare with collator
- return rName1.compareToIgnoreAsciiCase(rName2 ) < 0;
+ return o3tl::compareToIgnoreAsciiCase(rName1, rName2 ) < 0;
}
class WorkbookGlobals