sorted_vector: MSVC doesn't know which erase to call

Change-Id: Ib81388db2f93db662bb5439565f311835b08073e
This commit is contained in:
Michael Stahl
2012-07-25 16:21:05 +02:00
parent f5a625f61a
commit f317119be3
7 changed files with 10 additions and 16 deletions

View File

@@ -1226,7 +1226,7 @@ void SwNodes::Delete(const SwNodeIndex &rIndex, sal_uLong nNodes)
pOutlineNds->Seek_Entry( pNd, &nIdxPos ))
{
// loesche die Gliederungs-Indizies.
pOutlineNds->erase( pOutlineNds->begin() + nIdxPos );
pOutlineNds->erase(nIdxPos);
bUpdateOutline = sal_True;
}
pTxtNode->InvalidateNumRule();
@@ -1528,7 +1528,7 @@ void SwNodes::DelNodes( const SwNodeIndex & rStart, sal_uLong nCnt )
sal_uInt16 nIdxPos;
if( pOutlineNds->Seek_Entry( pNd, &nIdxPos ))
{
pOutlineNds->erase( pOutlineNds->begin() + nIdxPos );
pOutlineNds->erase(nIdxPos);
bUpdateNum = 1;
}
}