From 9013dc1650aa8400f63da5f584df9058b1740eb3 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 22 Dec 2020 14:08:08 +0100 Subject: Simplify loplugin:stringviewparam comparison operator handling In practice, it works fine to look at all of them, regardless of actual argument types. Change-Id: Ifc49cbcd6003c8837c1b3f81d432c59fb0657bf1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108366 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- sc/source/ui/inc/docsh.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sc/source/ui/inc/docsh.hxx') diff --git a/sc/source/ui/inc/docsh.hxx b/sc/source/ui/inc/docsh.hxx index 849b05f95def..6682979adc7d 100644 --- a/sc/source/ui/inc/docsh.hxx +++ b/sc/source/ui/inc/docsh.hxx @@ -34,6 +34,7 @@ #include #include +#include #include #include @@ -397,7 +398,7 @@ public: static OUString GetLotusFilterName(); static OUString GetDBaseFilterName(); static OUString GetDifFilterName(); - static bool HasAutomaticTableName( const OUString& rFilter ); + static bool HasAutomaticTableName( std::u16string_view rFilter ); static void LOKCommentNotify(LOKCommentNotificationType nType, const ScDocument* pDocument, const ScAddress& rPos, const ScPostIt* pNote); DECL_LINK( RefreshDBDataHdl, Timer*, void ); -- cgit