summaryrefslogtreecommitdiff
path: root/sw/source/uibase/inc/swcont.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-08-11 11:04:01 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-08-12 08:04:16 +0200
commit24865e2d57a32aab7212b1a283f9b30215900dda (patch)
tree9fce0db252a9a8b9959b46ce7cad326be6255329 /sw/source/uibase/inc/swcont.hxx
parent7786bafdb8951aa3f0acda801ddb3704c81d00d8 (diff)
clang-tidy modernize-pass-by-value in sw
Change-Id: I9a3b33595e34a264baeede33672a0c090ae85157 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138134 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/inc/swcont.hxx')
-rw-r--r--sw/source/uibase/inc/swcont.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/inc/swcont.hxx b/sw/source/uibase/inc/swcont.hxx
index 77b9d5656030..b29489f098c3 100644
--- a/sw/source/uibase/inc/swcont.hxx
+++ b/sw/source/uibase/inc/swcont.hxx
@@ -81,7 +81,7 @@ class SwContent : public SwTypeNumber
// the index in its subtree
bool m_bInvisible;
public:
- SwContent(const SwContentType* pCnt, const OUString& rName, double nYPos);
+ SwContent(const SwContentType* pCnt, OUString aName, double nYPos);
virtual bool IsProtect() const;
const SwContentType* GetParent() const {return m_pParent;}