summaryrefslogtreecommitdiff
path: root/sfx2/source/appl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2022-05-02 08:49:36 +0200
committerStephan Bergmann <sbergman@redhat.com>2022-05-02 14:11:50 +0200
commit5d4ba848a378063ff7965a5871602525ac482703 (patch)
treec0f6ee9d2305bc6b5ba48c3a694ac72b173a5c8d /sfx2/source/appl
parent02a5bd2e6c4eee50cbd8cb4ed009731c409711a5 (diff)
loplugin:stringviewparam
Change-Id: I30fddefcc0dc95f98a34ca45bd667f0900ec2044 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133687 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sfx2/source/appl')
-rw-r--r--sfx2/source/appl/appdde.cxx4
1 files changed, 3 insertions, 1 deletions
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;