summaryrefslogtreecommitdiff
path: root/sw/inc/unostyle.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/unostyle.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/unostyle.hxx')
-rw-r--r--sw/inc/unostyle.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/inc/unostyle.hxx b/sw/inc/unostyle.hxx
index d3f1124785b9..7091fd603602 100644
--- a/sw/inc/unostyle.hxx
+++ b/sw/inc/unostyle.hxx
@@ -189,7 +189,7 @@ private:
public:
- SwXAutoStyle( SwDoc* pDoc, std::shared_ptr<SfxItemSet> const & pInitSet, IStyleAccess::SwAutoStyleFamily eFam );
+ SwXAutoStyle( SwDoc* pDoc, std::shared_ptr<SfxItemSet> pInitSet, IStyleAccess::SwAutoStyleFamily eFam );
virtual ~SwXAutoStyle() override;
//XPropertySet
@@ -340,9 +340,9 @@ class SwXTextCellStyle final : public cppu::WeakImplHelper
bool m_bPhysical;
public:
- SwXTextCellStyle(SwDocShell* pDocShell, SwBoxAutoFormat* pBoxAutoFormat, const OUString& sParentStyle);
+ SwXTextCellStyle(SwDocShell* pDocShell, SwBoxAutoFormat* pBoxAutoFormat, OUString sParentStyle);
/// Create non physical style
- SwXTextCellStyle(SwDocShell* pDocShell, const OUString& sName);
+ SwXTextCellStyle(SwDocShell* pDocShell, OUString sName);
/**
* This function looks for a SwBoxAutoFormat with given name. Parses the name and returns parent name.