summaryrefslogtreecommitdiff
path: root/editeng/source/uno/unotext.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-09-05 13:51:39 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-09-06 08:33:28 +0200
commit3d604d1cd6cc70ef96782ef769f0479b509987a8 (patch)
tree068bb54b87dd46640ff752994133692551118400 /editeng/source/uno/unotext.cxx
parent16afac775a048d6d57d43952c855345f47cb231f (diff)
clang-tidy performance-move-const-arg
Change-Id: I607891e120688b746c8a4c577018d97147a79217 Reviewed-on: https://gerrit.libreoffice.org/60029 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'editeng/source/uno/unotext.cxx')
-rw-r--r--editeng/source/uno/unotext.cxx2
1 files changed, 1 insertions, 1 deletions
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<SvxFieldData> pData ) thr
if( pForwarder )
{
SvxFieldItem aField( std::move(pData), EE_FEATURE_FIELD );
- pForwarder->QuickInsertField( std::move(aField), maSelection );
+ pForwarder->QuickInsertField(aField, maSelection);
}
}