summaryrefslogtreecommitdiff
path: root/sw/inc/numrule.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/numrule.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/numrule.hxx')
-rw-r--r--sw/inc/numrule.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/numrule.hxx b/sw/inc/numrule.hxx
index 20e498961bda..fde2c8de0fb8 100644
--- a/sw/inc/numrule.hxx
+++ b/sw/inc/numrule.hxx
@@ -142,7 +142,7 @@ private:
public:
/// add parameter <eDefaultNumberFormatPositionAndSpaceMode>
- SwNumRule( const OUString& rNm,
+ SwNumRule( OUString aNm,
const SvxNumberFormat::SvxNumPositionAndSpaceMode eDefaultNumberFormatPositionAndSpaceMode,
SwNumRuleType = NUM_RULE );