diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-05 08:34:22 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-05 09:22:51 +0200 |
commit | 17a2c9e8e2361de27013a25e51f3a3ca729f1b31 (patch) | |
tree | 1c89bc104e5630fb71ff0a5b12c464ca2aceebc3 /oox/inc | |
parent | 8fa4b0429b514c0d696ebfc2e47418292d7ec367 (diff) |
clang-tidy performance-unnecessary-value-param
Change-Id: I6ed8c54c7c45931d91709cc818f2483c70197192
Reviewed-on: https://gerrit.libreoffice.org/38400
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'oox/inc')
-rw-r--r-- | oox/inc/drawingml/table/tablecontext.hxx | 2 | ||||
-rw-r--r-- | oox/inc/drawingml/textbody.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/oox/inc/drawingml/table/tablecontext.hxx b/oox/inc/drawingml/table/tablecontext.hxx index 00545a8e8d64..4157347e73ce 100644 --- a/oox/inc/drawingml/table/tablecontext.hxx +++ b/oox/inc/drawingml/table/tablecontext.hxx @@ -29,7 +29,7 @@ class TableProperties; class TableContext : public ShapeContext { public: - TableContext( ::oox::core::ContextHandler2Helper& rParent, ShapePtr pShapePtr ); + TableContext( ::oox::core::ContextHandler2Helper& rParent, const ShapePtr& pShapePtr ); virtual ~TableContext() override; virtual ::oox::core::ContextHandlerRef onCreateContext( ::sal_Int32 Element, const ::oox::AttributeList& rAttribs ) override; diff --git a/oox/inc/drawingml/textbody.hxx b/oox/inc/drawingml/textbody.hxx index 043529723e76..c2b0c5acc762 100644 --- a/oox/inc/drawingml/textbody.hxx +++ b/oox/inc/drawingml/textbody.hxx @@ -40,7 +40,7 @@ class TextBody { public: TextBody(); - TextBody( TextBodyPtr pBody ); + TextBody( const TextBodyPtr& pBody ); ~TextBody(); const TextParagraphVector& getParagraphs() const { return maParagraphs; } |