mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-23 16:52:02 +00:00
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:
parent
d75143217c
commit
65c041095d
@ -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";
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user