summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
Diffstat (limited to 'oox')
-rw-r--r--oox/source/shape/WpgContext.cxx2
-rw-r--r--oox/source/shape/WpgContext.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/shape/WpgContext.cxx b/oox/source/shape/WpgContext.cxx
index cf65491e0f26..8d83758b7316 100644
--- a/oox/source/shape/WpgContext.cxx
+++ b/oox/source/shape/WpgContext.cxx
@@ -20,7 +20,7 @@ using namespace com::sun::star;
namespace oox::shape
{
-WpgContext::WpgContext(FragmentHandler2 const& rParent, oox::drawingml::ShapePtr pMaster)
+WpgContext::WpgContext(FragmentHandler2 const& rParent, const oox::drawingml::ShapePtr& pMaster)
: FragmentHandler2(rParent)
, m_bFullWPGSupport(false)
{
diff --git a/oox/source/shape/WpgContext.hxx b/oox/source/shape/WpgContext.hxx
index 643a2a49357b..edd11644b214 100644
--- a/oox/source/shape/WpgContext.hxx
+++ b/oox/source/shape/WpgContext.hxx
@@ -20,7 +20,7 @@ class WpgContext final : public oox::core::FragmentHandler2
{
public:
explicit WpgContext(oox::core::FragmentHandler2 const& rParent,
- oox::drawingml::ShapePtr pMaster);
+ const oox::drawingml::ShapePtr& pMaster);
~WpgContext() override;
oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElementToken,