summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-12-29 12:20:23 +0100
committerStephan Bergmann <sbergman@redhat.com>2021-01-04 15:29:54 +0100
commitc34e8bd71384326184baac7dea31f7ddf9bae6bc (patch)
tree0914b24023030781b3a74a768be9df4d2873b4b9 /sfx2
parenta1cdde17aa27902ee162d5b40860f05c592c4de8 (diff)
loplugin:stringviewparam: operator +=
Change-Id: I30ce1b5bd8fb168da7067c1967c5af2569df2653 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108512 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/linkmgr2.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/appl/linkmgr2.cxx b/sfx2/source/appl/linkmgr2.cxx
index e63c9b910d5e..ed980af3d90a 100644
--- a/sfx2/source/appl/linkmgr2.cxx
+++ b/sfx2/source/appl/linkmgr2.cxx
@@ -187,7 +187,7 @@ bool LinkManager::InsertLink( SvBaseLink * pLink,
void LinkManager::InsertDDELink( SvBaseLink * pLink,
const OUString& rServer,
- const OUString& rTopic,
+ std::u16string_view rTopic,
std::u16string_view rItem )
{
if( !isClientType( pLink->GetObjType() ) )
@@ -375,7 +375,7 @@ void LinkManager::RemoveServer( SvLinkSource* pObj )
aServerTbl.erase( pObj );
}
-void MakeLnkName( OUString& rName, const OUString* pType, const OUString& rFile,
+void MakeLnkName( OUString& rName, const OUString* pType, std::u16string_view rFile,
std::u16string_view rLink, const OUString* pFilter )
{
if( pType )