summaryrefslogtreecommitdiff
path: root/oox/source/shape
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-31 09:28:51 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-31 10:34:58 +0200
commit8302f334b66f9d16e208a7cf4d4d1033664eb0e4 (patch)
treeb29579b478229b6716601ffd70bc996f04114251 /oox/source/shape
parent9fd9d25d04709a3ec6957f6b40d5534bec86ed6a (diff)
loplugin:constparams in oox
Change-Id: I43984b4ece82da39ca61a91fa14e4660298509dd Reviewed-on: https://gerrit.libreoffice.org/40581 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'oox/source/shape')
-rw-r--r--oox/source/shape/LockedCanvasContext.cxx2
-rw-r--r--oox/source/shape/LockedCanvasContext.hxx2
-rw-r--r--oox/source/shape/WpgContext.cxx2
-rw-r--r--oox/source/shape/WpgContext.hxx2
-rw-r--r--oox/source/shape/WpsContext.cxx2
-rw-r--r--oox/source/shape/WpsContext.hxx2
6 files changed, 6 insertions, 6 deletions
diff --git a/oox/source/shape/LockedCanvasContext.cxx b/oox/source/shape/LockedCanvasContext.cxx
index add56c4b09b1..661227086431 100644
--- a/oox/source/shape/LockedCanvasContext.cxx
+++ b/oox/source/shape/LockedCanvasContext.cxx
@@ -20,7 +20,7 @@ namespace oox
namespace shape
{
-LockedCanvasContext::LockedCanvasContext(ContextHandler2Helper& rParent)
+LockedCanvasContext::LockedCanvasContext(ContextHandler2Helper const & rParent)
: ContextHandler2(rParent)
{
}
diff --git a/oox/source/shape/LockedCanvasContext.hxx b/oox/source/shape/LockedCanvasContext.hxx
index d500f12dd082..4c26809a9669 100644
--- a/oox/source/shape/LockedCanvasContext.hxx
+++ b/oox/source/shape/LockedCanvasContext.hxx
@@ -22,7 +22,7 @@ namespace shape
class LockedCanvasContext : public oox::core::ContextHandler2
{
public:
- explicit LockedCanvasContext(oox::core::ContextHandler2Helper& rParent);
+ explicit LockedCanvasContext(oox::core::ContextHandler2Helper const & rParent);
~LockedCanvasContext() override;
oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElementToken, const ::oox::AttributeList& rAttribs) override;
diff --git a/oox/source/shape/WpgContext.cxx b/oox/source/shape/WpgContext.cxx
index 2ae26fedb84c..e7f67dd52cd3 100644
--- a/oox/source/shape/WpgContext.cxx
+++ b/oox/source/shape/WpgContext.cxx
@@ -21,7 +21,7 @@ namespace oox
namespace shape
{
-WpgContext::WpgContext(ContextHandler2Helper& rParent)
+WpgContext::WpgContext(ContextHandler2Helper const & rParent)
: ContextHandler2(rParent)
{
mpShape.reset(new oox::drawingml::Shape("com.sun.star.drawing.GroupShape"));
diff --git a/oox/source/shape/WpgContext.hxx b/oox/source/shape/WpgContext.hxx
index f313a7f9b3ff..1280d537f9a4 100644
--- a/oox/source/shape/WpgContext.hxx
+++ b/oox/source/shape/WpgContext.hxx
@@ -22,7 +22,7 @@ namespace shape
class WpgContext : public oox::core::ContextHandler2
{
public:
- explicit WpgContext(oox::core::ContextHandler2Helper& rParent);
+ explicit WpgContext(oox::core::ContextHandler2Helper const & rParent);
~WpgContext() override;
oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElementToken, const oox::AttributeList& rAttribs) override;
diff --git a/oox/source/shape/WpsContext.cxx b/oox/source/shape/WpsContext.cxx
index b26ce06562b0..7aa5c169f3f0 100644
--- a/oox/source/shape/WpsContext.cxx
+++ b/oox/source/shape/WpsContext.cxx
@@ -33,7 +33,7 @@ namespace oox
namespace shape
{
-WpsContext::WpsContext(ContextHandler2Helper& rParent, uno::Reference<drawing::XShape> xShape)
+WpsContext::WpsContext(ContextHandler2Helper const & rParent, uno::Reference<drawing::XShape> xShape)
: ContextHandler2(rParent),
mxShape(std::move(xShape))
{
diff --git a/oox/source/shape/WpsContext.hxx b/oox/source/shape/WpsContext.hxx
index cc9af2160cdc..c2e53765669f 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 const & rParent, css::uno::Reference<css::drawing::XShape> xShape);
~WpsContext() override;
oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElementToken, const oox::AttributeList& rAttribs) override;