summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/ww8par.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/ww8/ww8par.cxx')
-rw-r--r--sw/source/filter/ww8/ww8par.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx
index 97dd8ae286d2..12315b438d3e 100644
--- a/sw/source/filter/ww8/ww8par.cxx
+++ b/sw/source/filter/ww8/ww8par.cxx
@@ -801,8 +801,8 @@ SdrObject* SwMSDffManager::ProcessObj(SvStream& rSt,
// with a Frame, else
if( bIsSimpleDrawingTextBox )
{
- std::shared_ptr<SvxMSDffShapeInfo> const xTmpRec(
- new SvxMSDffShapeInfo(0, pImpRec->nShapeId));
+ std::shared_ptr<SvxMSDffShapeInfo> const xTmpRec =
+ std::make_shared<SvxMSDffShapeInfo>(0, pImpRec->nShapeId);
SvxMSDffShapeInfos_ById::const_iterator const it =
GetShapeInfos()->find(xTmpRec);