diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-07-07 15:57:42 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-07-07 18:59:55 +0200 |
commit | 607ef95608592f2db88a8b4cf65dfc2e488b07a9 (patch) | |
tree | f5466dfe4d01cd84e2a40ac221283c367f402bcb /oox/source/shape | |
parent | a2b2b7b07e0ddffdd836bd1b6009c0c8523fa1ae (diff) |
loplugin:passstuffbyref also for {css::uno,rtl}::Reference
Change-Id: I19eaebdb25db8881d84625a4b9d0df0a588aab4f
Diffstat (limited to 'oox/source/shape')
-rw-r--r-- | oox/source/shape/WpsContext.cxx | 2 | ||||
-rw-r--r-- | oox/source/shape/WpsContext.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/shape/WpsContext.cxx b/oox/source/shape/WpsContext.cxx index d3beeb846499..15c6b3743ef9 100644 --- a/oox/source/shape/WpsContext.cxx +++ b/oox/source/shape/WpsContext.cxx @@ -32,7 +32,7 @@ namespace oox namespace shape { -WpsContext::WpsContext(ContextHandler2Helper& rParent, uno::Reference<drawing::XShape> xShape) +WpsContext::WpsContext(ContextHandler2Helper& rParent, uno::Reference<drawing::XShape> const & xShape) : ContextHandler2(rParent), mxShape(xShape) { diff --git a/oox/source/shape/WpsContext.hxx b/oox/source/shape/WpsContext.hxx index b7dfb1d95c35..909400176615 100644 --- a/oox/source/shape/WpsContext.hxx +++ b/oox/source/shape/WpsContext.hxx @@ -22,7 +22,7 @@ namespace shape class WpsContext : public oox::core::ContextHandler2 { public: - WpsContext(oox::core::ContextHandler2Helper& rParent, css::uno::Reference<css::drawing::XShape> xShape); + WpsContext(oox::core::ContextHandler2Helper& rParent, css::uno::Reference<css::drawing::XShape> const & xShape); virtual ~WpsContext(); virtual oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElementToken, const oox::AttributeList& rAttribs) override; |