summaryrefslogtreecommitdiff
path: root/sw/source/ui
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2023-12-03 19:43:33 +0000
committerCaolán McNamara <caolan.mcnamara@collabora.com>2023-12-04 10:47:14 +0100
commit8c0ed1d92c128fa73b0441581a958bab317f6fa7 (patch)
tree92262c471a857237fb517bd1db5fce78c9c7b901 /sw/source/ui
parentcdb180e767ebf2011414f4a5ba7213752474ee36 (diff)
cid#1546497 COPY_INSTEAD_OF_MOVE
Change-Id: I9bcbbdef1521dc77ccaca2734c662c12ac188b60 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160272 Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com> Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'sw/source/ui')
-rw-r--r--sw/source/ui/vba/vbaformfields.cxx2
1 files changed, 1 insertions, 1 deletions
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<container::XIndexAccess> xIndexAccess)
+ explicit FormFieldsEnumWrapper(const uno::Reference<container::XIndexAccess>& xIndexAccess)
: mxIndexAccess(xIndexAccess)
, mnIndex(0)
{