From 8c0ed1d92c128fa73b0441581a958bab317f6fa7 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 3 Dec 2023 19:43:33 +0000 Subject: cid#1546497 COPY_INSTEAD_OF_MOVE MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I9bcbbdef1521dc77ccaca2734c662c12ac188b60 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160272 Tested-by: Caolán McNamara Reviewed-by: Caolán McNamara --- sw/source/ui/vba/vbaformfields.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw/source/ui') diff --git a/sw/source/ui/vba/vbaformfields.cxx b/sw/source/ui/vba/vbaformfields.cxx index 586393e35818..9c8af450d345 100644 --- a/sw/source/ui/vba/vbaformfields.cxx +++ b/sw/source/ui/vba/vbaformfields.cxx @@ -81,7 +81,7 @@ class FormFieldsEnumWrapper : public EnumerationHelper_BASE sal_Int32 mnIndex; public: - explicit FormFieldsEnumWrapper(uno::Reference xIndexAccess) + explicit FormFieldsEnumWrapper(const uno::Reference& xIndexAccess) : mxIndexAccess(xIndexAccess) , mnIndex(0) { -- cgit