diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-06-10 14:40:55 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-06-10 14:40:55 +0100 |
commit | 68ae0620db8722d3cc6e750650af968518eda288 (patch) | |
tree | 72adf22dd0b70bc50b1cdb7460500b8f4dc84cdd /svtools | |
parent | 7ecb95bbd9549c8ac96196d931033179e45b779d (diff) |
fix build, and fix reversed logic
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/contnr/treelist.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/contnr/treelist.cxx b/svtools/source/contnr/treelist.cxx index 756750762220..13b8fb553ee5 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 ) |