remove useless assertion (already handled by std-debug), gets rid of two gcc warnings.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17534 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2007-03-25 00:49:09 +00:00
parent d75143217c
commit 65c041095d

View File

@ -90,7 +90,6 @@ void ControlToc::goTo(TocItem const & item)
bool ControlToc::canOutline(size_t type) const
{
BOOST_ASSERT(type >= 0 && type < int(types_.size()));
return types_[type] == "tableofcontents";
}