summaryrefslogtreecommitdiff
path: root/sw/inc/fmtrfmrk.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-08-04 09:27:50 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-08-04 15:08:26 +0200
commita3e061845b736409094af2bcc2a542ec94b093d9 (patch)
treed3a93c07d3a98f8b377a86382d883246fc68c288 /sw/inc/fmtrfmrk.hxx
parent502357eef1a6d74a0aeb0b3f2ed956cb6f671008 (diff)
clang-tidy modernize-pass-by-value in sw
Change-Id: Ie5c250c64f95e649d33d3f3da7b54e81a4b81d0b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137781 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/fmtrfmrk.hxx')
-rw-r--r--sw/inc/fmtrfmrk.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/fmtrfmrk.hxx b/sw/inc/fmtrfmrk.hxx
index 1d7836f46187..0d41e9070e14 100644
--- a/sw/inc/fmtrfmrk.hxx
+++ b/sw/inc/fmtrfmrk.hxx
@@ -45,7 +45,7 @@ class SAL_DLLPUBLIC_RTTI SwFormatRefMark final
unotools::WeakReference<SwXReferenceMark> m_wXReferenceMark;
public:
- SwFormatRefMark( const OUString& rText );
+ SwFormatRefMark( OUString aText );
SwFormatRefMark( const SwFormatRefMark& rRefMark );
virtual ~SwFormatRefMark( ) override;