]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetRef.cpp
Add outliner section for broken refs and citations
[features.git] / src / insets / InsetRef.cpp
index 8f12dbaa50e7e53290eb79195809c33406598ce5..2c4b7c2457f81c099a70dd7774c3e1d27ef265c3 100644 (file)
@@ -470,6 +470,8 @@ void InsetRef::addToToc(DocIterator const & cpit, bool output_active,
        setBroken(broken_);
        shared_ptr<Toc> toc = backend.toc("label");
        toc->push_back(TocItem(cpit, 0, screenLabel(), output_active));
+       shared_ptr<Toc> toc2 = backend.toc("brokenrefs");
+       toc2->push_back(TocItem(cpit, 0, screenLabel(), output_active));
 }