diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2011-07-17 16:13:06 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2011-07-17 16:14:30 +0200 |
commit | f0c04d9bf3e8e4f3d2ab63f81355375a4331595a (patch) | |
tree | 606f78d372234429cd74118c53dc19773910444e /svtools | |
parent | 602cbe4d175a264186504786cfbfb3ed3cf77be9 (diff) |
Some fixes for compilation
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/contnr/imivctl1.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/contnr/imivctl1.cxx b/svtools/source/contnr/imivctl1.cxx index df9b81dab0c7..a3b73c4508df 100644 --- a/svtools/source/contnr/imivctl1.cxx +++ b/svtools/source/contnr/imivctl1.cxx @@ -440,7 +440,7 @@ void SvxIconChoiceCtrl_Impl::RemoveEntry( SvxIconChoiceCtrlEntry* pEntry ) pZOrderList->Remove( nPos ); if( bCurEntryPosValid ) { - DBG_ASSERT(aEntries.GetObject(pEntry->nPos)==pEntry,"RemoveEntry: Wrong nPos in entry"); + DBG_ASSERT(aEntries[pEntry->nPos]==pEntry,"RemoveEntry: Wrong nPos in entry"); aEntries.remove( pEntry->nPos ); } else @@ -4136,7 +4136,7 @@ void EntryList_Impl::Removed_Impl( SvxIconChoiceCtrlEntry* pEntry ) _pOwner->pHead = pEntry->pflink; else { - DBG_ASSERT(!Count(),"EntryList_Impl::Remove > Invalid predecessor" ); + DBG_ASSERT(size() > 0,"EntryList_Impl::Remove > Invalid predecessor" ); _pOwner->pHead = 0; } } |