diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-11-18 08:46:33 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-11-18 10:22:44 +0100 |
commit | 6fa1161d3113d43f38acdf9207627659fbc137c8 (patch) | |
tree | 0b4e0091101fde23515ec7ab9bb7a05993c40482 /sc/source/filter/inc | |
parent | 7938cae5178a4ce4093fd6494a058ab879ba303b (diff) |
loplugin:stringviewparam: No good reason to exclude operator functions
(at least not in general)
Change-Id: I71337b53dc9735e90a37ee532d0a8a08797b518c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106043
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sc/source/filter/inc')
-rw-r--r-- | sc/source/filter/inc/workbookhelper.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sc/source/filter/inc/workbookhelper.hxx b/sc/source/filter/inc/workbookhelper.hxx index ad1018302265..0fd9ca5ebc64 100644 --- a/sc/source/filter/inc/workbookhelper.hxx +++ b/sc/source/filter/inc/workbookhelper.hxx @@ -21,6 +21,8 @@ #define INCLUDED_SC_SOURCE_FILTER_INC_WORKBOOKHELPER_HXX #include <memory> +#include <string_view> + #include <oox/helper/storagebase.hxx> #include <address.hxx> @@ -61,7 +63,7 @@ class ExcelFilter; /** Functor for case-insensitive string comparison, usable in maps etc. */ struct IgnoreCaseCompare { - bool operator()( const OUString& rName1, const OUString& rName2 ) const; + bool operator()( const OUString& rName1, std::u16string_view rName2 ) const; }; class AddressConverter; |