]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetRef.cpp
This optional argument to the InsetCollapsable constructor
[lyx.git] / src / insets / InsetRef.cpp
index b62839c162b1da7b67da76f37554d0b6500fd29d..f0c45db39ce97d25d979eaea836263ae4b0a882a 100644 (file)
@@ -142,7 +142,7 @@ void InsetRef::updateLabels(ParIterator const & it)
 }
 
 
-void InsetRef::addToToc(ParConstIterator const & cpit) const
+void InsetRef::addToToc(DocIterator const & cpit)
 {
        docstring const & label = getParam("reference");
        if (buffer().insetLabel(label))