]> git.lyx.org Git - lyx.git/blobdiff - src/TocBackend.cpp
Fix scale parameter for fonts.
[lyx.git] / src / TocBackend.cpp
index 1df2adc57680124eadb5bc14ba15acff1cb84cc9..f46b3c8418ba6c0514d5708c107cdde8f77b8873 100644 (file)
@@ -182,7 +182,8 @@ TocIterator TocBackend::item(string const & type,
 {
        TocList::const_iterator toclist_it = tocs_.find(type);
        // Is the type supported?
-       LASSERT(toclist_it != tocs_.end(), /**/);
+       // We will try to make the best of it in release mode
+       LASSERT(toclist_it != tocs_.end(), toclist_it = tocs_.begin());
        return toclist_it->second.item(dit);
 }