diff --git a/vcl/source/treelist/treelistbox.cxx b/vcl/source/treelist/treelistbox.cxx index d20d7eb87f65..f9e68a94c80d 100644 --- a/vcl/source/treelist/treelistbox.cxx +++ b/vcl/source/treelist/treelistbox.cxx @@ -785,7 +785,7 @@ bool SvTreeListBox::IsExpanded(SvTreeListEntry* pEntry) const bool SvTreeListBox::IsAllExpanded(SvTreeListEntry* pEntry) const { - DBG_ASSERT(pEntry, "IsAllExpanded:No Entry"); + assert(pEntry && "IsAllExpanded:No Entry"); if (!IsExpanded(pEntry)) return false; const SvTreeListEntries& rChildren = pEntry->GetChildEntries();