From 3d604d1cd6cc70ef96782ef769f0479b509987a8 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 5 Sep 2018 13:51:39 +0200 Subject: clang-tidy performance-move-const-arg Change-Id: I607891e120688b746c8a4c577018d97147a79217 Reviewed-on: https://gerrit.libreoffice.org/60029 Tested-by: Jenkins Reviewed-by: Noel Grandin --- editeng/source/uno/unotext.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editeng/source/uno/unotext.cxx') diff --git a/editeng/source/uno/unotext.cxx b/editeng/source/uno/unotext.cxx index 22699090a93c..4e52a5099a9f 100644 --- a/editeng/source/uno/unotext.cxx +++ b/editeng/source/uno/unotext.cxx @@ -287,7 +287,7 @@ void SvxUnoTextRangeBase::attachField( std::unique_ptr pData ) thr if( pForwarder ) { SvxFieldItem aField( std::move(pData), EE_FEATURE_FIELD ); - pForwarder->QuickInsertField( std::move(aField), maSelection ); + pForwarder->QuickInsertField(aField, maSelection); } } -- cgit