mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Const
This commit is contained in:
parent
c9fd498a7f
commit
cc1d3b78c9
@ -1370,7 +1370,7 @@ void MenuDefinition::expandToc(Buffer const * buf)
|
||||
}
|
||||
// Handle normal TOC
|
||||
add(MenuItem(MenuItem::Separator));
|
||||
TocList::const_iterator cit = toc_list.find("tableofcontents");
|
||||
TocList::const_iterator const cit = toc_list.find("tableofcontents");
|
||||
if (cit == toc_list.end())
|
||||
LYXERR(Debug::GUI, "No table of contents.");
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user