summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/ww8/ww8par.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx
index 292b4fbec5c6..1512cc0108f4 100644
--- a/sw/source/filter/ww8/ww8par.cxx
+++ b/sw/source/filter/ww8/ww8par.cxx
@@ -594,10 +594,10 @@ SdrObject* SwMSDffManager::ProcessObj(SvStream& rSt,
SvxMSDffShapeInfo aTmpRec( 0, pImpRec->nShapeId );
aTmpRec.bSortByShapeId = sal_True;
- sal_uInt16 nFound;
- if( GetShapeInfos()->Seek_Entry( &aTmpRec, &nFound ) )
+ SvxMSDffShapeInfos::const_iterator it = GetShapeInfos()->find( &aTmpRec );
+ if( it != GetShapeInfos()->end() )
{
- SvxMSDffShapeInfo& rInfo = *GetShapeInfos()->GetObject(nFound);
+ SvxMSDffShapeInfo& rInfo = **it;
pImpRec->bReplaceByFly = rInfo.bReplaceByFly;
pImpRec->bLastBoxInChain = rInfo.bLastBoxInChain;
}