diff options
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/drawingml/diagram/layoutnodecontext.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/drawingml/diagram/layoutnodecontext.cxx b/oox/source/drawingml/diagram/layoutnodecontext.cxx index d822805ed2d6..ae893ed64cfa 100644 --- a/oox/source/drawingml/diagram/layoutnodecontext.cxx +++ b/oox/source/drawingml/diagram/layoutnodecontext.cxx @@ -244,7 +244,7 @@ LayoutNodeContext::onCreateContext( ::sal_Int32 aElement, ShapeAtomPtr pAtom = std::make_shared<ShapeAtom>(mpNode->getLayoutNode(), pShape); LayoutAtom::connect(mpNode, pAtom); - return new ShapeContext( *this, ShapePtr(), pShape ); + return new ShapeContext( *this, ShapePtr(), std::move(pShape) ); } case DGM_TOKEN( extLst ): return nullptr; |