summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-07-25 16:21:05 +0200
committerMichael Stahl <mstahl@redhat.com>2012-07-25 16:28:17 +0200
commitf317119be32071e9ef82f3d8ff53170a5456ea0c (patch)
tree0d2a7fa7a4371f8a9d4d061013ff19986118627c /cui
parentf5a625f61a4f0209a4ec74b919241593a56b5500 (diff)
sorted_vector: MSVC doesn't know which erase to call
Change-Id: Ib81388db2f93db662bb5439565f311835b08073e
Diffstat (limited to 'cui')
-rw-r--r--cui/source/tabpages/autocdlg.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/cui/source/tabpages/autocdlg.cxx b/cui/source/tabpages/autocdlg.cxx
index b2923f809bcd..b770c8c19341 100644
--- a/cui/source/tabpages/autocdlg.cxx
+++ b/cui/source/tabpages/autocdlg.cxx
@@ -1540,7 +1540,7 @@ sal_Bool OfaAutocorrExceptPage::FillItemSet( SfxItemSet& )
if( !lcl_FindInArray(rArrays.aDoubleCapsStrings, *pString))
{
delete (*pWrdList)[ i ];
- pWrdList->erase( pWrdList->begin() + i );
+ pWrdList->erase(i);
}
}
@@ -1565,7 +1565,7 @@ sal_Bool OfaAutocorrExceptPage::FillItemSet( SfxItemSet& )
if( !lcl_FindInArray(rArrays.aAbbrevStrings, *pString))
{
delete (*pCplList)[ i ];
- pCplList->erase( pCplList->begin() + i );
+ pCplList->erase(i);
}
}
@@ -1594,7 +1594,7 @@ sal_Bool OfaAutocorrExceptPage::FillItemSet( SfxItemSet& )
if( USHRT_MAX == aDoubleCapsLB.GetEntryPos(*pString) )
{
delete (*pWrdList)[ i ];
- pWrdList->erase( pWrdList->begin() + i );
+ pWrdList->erase(i);
}
}
nCount = aDoubleCapsLB.GetEntryCount();
@@ -1619,7 +1619,7 @@ sal_Bool OfaAutocorrExceptPage::FillItemSet( SfxItemSet& )
if( USHRT_MAX == aAbbrevLB.GetEntryPos(*pString) )
{
delete (*pCplList)[ i ];
- pCplList->erase( pCplList->begin() + i );
+ pCplList->erase(i);
}
}
nCount = aAbbrevLB.GetEntryCount();