X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetRef.cpp;h=f0c45db39ce97d25d979eaea836263ae4b0a882a;hb=d6f1915684328c6e3fe61c6eef8846b5cabec334;hp=b62839c162b1da7b67da76f37554d0b6500fd29d;hpb=2ab77c16f64b5e966c351f4d7a544e4892825127;p=lyx.git diff --git a/src/insets/InsetRef.cpp b/src/insets/InsetRef.cpp index b62839c162..f0c45db39c 100644 --- a/src/insets/InsetRef.cpp +++ b/src/insets/InsetRef.cpp @@ -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))