summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/macab/MacabHeader.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-11-24 14:23:03 +0100
committerStephan Bergmann <sbergman@redhat.com>2020-11-24 16:56:17 +0100
commit965f349952a90334c14a86ce1dd65711b73e8e85 (patch)
tree56110aaecf61eed730fb8aab81798024a31bbb3a /connectivity/source/drivers/macab/MacabHeader.hxx
parentc476b36bdab3dc1d2582f841d8044ffc202aae88 (diff)
loplugin:stringview (macOS)
Change-Id: I20e4bdefdf8f05bbe1ac547a16e8d5e06e3303eb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106501 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'connectivity/source/drivers/macab/MacabHeader.hxx')
-rw-r--r--connectivity/source/drivers/macab/MacabHeader.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/connectivity/source/drivers/macab/MacabHeader.hxx b/connectivity/source/drivers/macab/MacabHeader.hxx
index 8902af091d5a..839a755fb6f1 100644
--- a/connectivity/source/drivers/macab/MacabHeader.hxx
+++ b/connectivity/source/drivers/macab/MacabHeader.hxx
@@ -20,6 +20,10 @@
#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABHEADER_HXX
#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABHEADER_HXX
+#include <sal/config.h>
+
+#include <string_view>
+
#include "MacabRecord.hxx"
namespace connectivity::macab
@@ -34,7 +38,7 @@ namespace connectivity::macab
void operator+= (const MacabHeader *r);
OUString getString(const sal_Int32 i) const;
void sortRecord();
- sal_Int32 getColumnNumber(const OUString& s) const;
+ sal_Int32 getColumnNumber(std::u16string_view s) const;
static sal_Int32 compareFields(const macabfield *_field1, const macabfield *_field2);