diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-08-02 13:42:33 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-08-02 14:36:02 +0200 |
commit | 81002bc718edad94613b20c2480719979b443b99 (patch) | |
tree | a25b6474872505e71c34abedef2e3dfc7ccd6435 /include/oox/vml | |
parent | 554370661554652e7be96034e310d6863c700285 (diff) |
clang-tidy modernize-pass-by-value in oox
Change-Id: Ia553a24693f2ffc0f580c9869b82f0d01a1a0ffb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137693
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/oox/vml')
-rw-r--r-- | include/oox/vml/vmlshape.hxx | 2 | ||||
-rw-r--r-- | include/oox/vml/vmltextbox.hxx | 2 | ||||
-rw-r--r-- | include/oox/vml/vmltextboxcontext.hxx | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/include/oox/vml/vmlshape.hxx b/include/oox/vml/vmlshape.hxx index 36a9511a2632..d46c23282324 100644 --- a/include/oox/vml/vmlshape.hxx +++ b/include/oox/vml/vmlshape.hxx @@ -309,7 +309,7 @@ protected: class SimpleShape : public ShapeBase { public: - explicit SimpleShape( Drawing& rDrawing, const OUString& rService ); + explicit SimpleShape( Drawing& rDrawing, OUString aService ); void setService( const OUString& aService ) { maService = aService; } diff --git a/include/oox/vml/vmltextbox.hxx b/include/oox/vml/vmltextbox.hxx index f3c4bf4f2fd6..779b368e660e 100644 --- a/include/oox/vml/vmltextbox.hxx +++ b/include/oox/vml/vmltextbox.hxx @@ -71,7 +71,7 @@ struct TextPortionModel TextFontModel maFont; OUString maText; - explicit TextPortionModel( const TextParagraphModel& rParagraph, const TextFontModel& rFont, const OUString& rText ); + explicit TextPortionModel( TextParagraphModel aParagraph, TextFontModel aFont, OUString aText ); }; diff --git a/include/oox/vml/vmltextboxcontext.hxx b/include/oox/vml/vmltextboxcontext.hxx index d5c3dde86cea..f20a40c0289a 100644 --- a/include/oox/vml/vmltextboxcontext.hxx +++ b/include/oox/vml/vmltextboxcontext.hxx @@ -41,8 +41,8 @@ public: explicit TextPortionContext( ::oox::core::ContextHandler2Helper const & rParent, TextBox& rTextBox, - TextParagraphModel const & rParagraph, - const TextFontModel& rParentFont, + TextParagraphModel aParagraph, + TextFontModel aParentFont, sal_Int32 nElement, const AttributeList& rAttribs ); |