[Libreoffice-commits] .: svtools/source
Julien Nabet
serval2412 at kemper.freedesktop.org
Sun Jul 17 07:15:24 PDT 2011
svtools/source/contnr/imivctl1.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit a702c3b75e857273cbe3f91e531cbc18b154dcef
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sun Jul 17 16:13:06 2011 +0200
Some fixes for compilation
diff --git a/svtools/source/contnr/imivctl1.cxx b/svtools/source/contnr/imivctl1.cxx
index a406b3e..7ca9a72 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;
}
}
More information about the Libreoffice-commits
mailing list