[Libreoffice-commits] .: svtools/source
Caolán McNamara
caolan at kemper.freedesktop.org
Fri Jun 10 06:41:03 PDT 2011
svtools/source/contnr/treelist.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 49b294e58e653074d086eb54965489073f1afad4
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Jun 10 14:40:55 2011 +0100
fix build, and fix reversed logic
diff --git a/svtools/source/contnr/treelist.cxx b/svtools/source/contnr/treelist.cxx
index 7567507..13b8fb5 100644
--- a/svtools/source/contnr/treelist.cxx
+++ b/svtools/source/contnr/treelist.cxx
@@ -535,7 +535,7 @@ SvTreeEntryList* SvTreeList::CloneChilds( SvTreeEntryList* pChilds,
SvListEntry* pNewParent,
sal_uLong& nCloneCount ) const
{
- DBG_ASSERT(!pChilds->Count(),"Childs?");
+ DBG_ASSERT(!pChilds->empty(),"Childs?");
SvTreeEntryList* pClonedChilds = new SvTreeEntryList;
SvListEntry* pChild = (SvListEntry*)pChilds->First();
while ( pChild )
More information about the Libreoffice-commits
mailing list