From 24865e2d57a32aab7212b1a283f9b30215900dda Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 11 Aug 2022 11:04:01 +0200 Subject: 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 --- sw/source/uibase/inc/swcont.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw/source/uibase/inc/swcont.hxx') 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;} -- cgit