summaryrefslogtreecommitdiff
path: root/oox/source/drawingml/diagram/diagramfragmenthandler.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'oox/source/drawingml/diagram/diagramfragmenthandler.cxx')
-rw-r--r--oox/source/drawingml/diagram/diagramfragmenthandler.cxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/oox/source/drawingml/diagram/diagramfragmenthandler.cxx b/oox/source/drawingml/diagram/diagramfragmenthandler.cxx
index 02f406e40105..b65fca3f98fc 100644
--- a/oox/source/drawingml/diagram/diagramfragmenthandler.cxx
+++ b/oox/source/drawingml/diagram/diagramfragmenthandler.cxx
@@ -24,6 +24,7 @@
#include <drawingml/colorchoicecontext.hxx>
#include <oox/helper/attributelist.hxx>
#include <oox/token/namespaces.hxx>
+#include <utility>
using namespace ::oox::core;
using namespace ::com::sun::star::xml::sax;
@@ -33,9 +34,9 @@ namespace oox::drawingml {
DiagramDataFragmentHandler::DiagramDataFragmentHandler( XmlFilterBase& rFilter,
const OUString& rFragmentPath,
- const OoxDiagramDataPtr& rDataPtr )
+ OoxDiagramDataPtr xDataPtr )
: FragmentHandler2( rFilter, rFragmentPath )
- , mpDataPtr( rDataPtr )
+ , mpDataPtr(std::move( xDataPtr ))
{
}
@@ -66,9 +67,9 @@ DiagramDataFragmentHandler::onCreateContext( ::sal_Int32 aElement,
DiagramLayoutFragmentHandler::DiagramLayoutFragmentHandler( XmlFilterBase& rFilter,
const OUString& rFragmentPath,
- const DiagramLayoutPtr& rDataPtr )
+ DiagramLayoutPtr xDataPtr )
: FragmentHandler2( rFilter, rFragmentPath )
- , mpDataPtr( rDataPtr )
+ , mpDataPtr(std::move( xDataPtr ))
{
}