diff options
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/ww8/ww8par.cxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx index 1512cc0108f4..505369cc7fd3 100644 --- a/sw/source/filter/ww8/ww8par.cxx +++ b/sw/source/filter/ww8/ww8par.cxx @@ -591,11 +591,12 @@ SdrObject* SwMSDffManager::ProcessObj(SvStream& rSt, // das Objekt durch einen Rahmen ersetzen, ansonsten if( bIsSimpleDrawingTextBox ) { - SvxMSDffShapeInfo aTmpRec( 0, pImpRec->nShapeId ); - aTmpRec.bSortByShapeId = sal_True; + ::boost::shared_ptr<SvxMSDffShapeInfo> const pTmpRec( + new SvxMSDffShapeInfo(0, pImpRec->nShapeId)); - SvxMSDffShapeInfos::const_iterator it = GetShapeInfos()->find( &aTmpRec ); - if( it != GetShapeInfos()->end() ) + SvxMSDffShapeInfos_ById::const_iterator const it = + GetShapeInfos()->find(pTmpRec); + if (it != GetShapeInfos()->end()) { SvxMSDffShapeInfo& rInfo = **it; pImpRec->bReplaceByFly = rInfo.bReplaceByFly; |