]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetNote.cpp
Enhancements and bugfixes to the TOCs
[features.git] / src / insets / InsetNote.cpp
index c1bb07aef4a5db8b4f804ef4698b2fac72c4fcd5..6fcf2794bb649d81f1dee8622df22dcc9cab769a 100644 (file)
@@ -207,7 +207,8 @@ bool InsetNote::getStatus(Cursor & cur, FuncRequest const & cmd,
 }
 
 
-void InsetNote::addToToc(DocIterator const & cpit, bool output_active) const
+void InsetNote::addToToc(DocIterator const & cpit, bool output_active,
+                                                UpdateType utype) const
 {
        DocIterator pit = cpit;
        pit.push_back(CursorSlice(const_cast<InsetNote &>(*this)));
@@ -220,7 +221,7 @@ void InsetNote::addToToc(DocIterator const & cpit, bool output_active) const
 
        // Proceed with the rest of the inset.
        bool doing_output = output_active && producesOutput();
-       InsetCollapsable::addToToc(cpit, doing_output);
+       InsetCollapsable::addToToc(cpit, doing_output, utype);
 }