sfx2/source/appl/appdde.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
New commits: commit 5d4ba848a378063ff7965a5871602525ac482703 Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Mon May 2 08:49:36 2022 +0200 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Mon May 2 14:11:50 2022 +0200 loplugin:stringviewparam Change-Id: I30fddefcc0dc95f98a34ca45bd667f0900ec2044 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133687 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/sfx2/source/appl/appdde.cxx b/sfx2/source/appl/appdde.cxx index 6e7db00012c7..d725d050f0a7 100644 --- a/sfx2/source/appl/appdde.cxx +++ b/sfx2/source/appl/appdde.cxx @@ -19,6 +19,8 @@ #include <sal/config.h> +#include <string_view> + #include <config_features.h> #include <rtl/character.hxx> #include <rtl/malformeduriexception.hxx> @@ -78,7 +80,7 @@ public: virtual bool SysTopicExecute( const OUString* pStr ); }; - bool lcl_IsDocument( const OUString& rContent ) + bool lcl_IsDocument( std::u16string_view rContent ) { using namespace com::sun::star;