]> git.lyx.org Git - lyx.git/blobdiff - src/insets/Inset.h
Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=4910 by creating InsetText::addToToc().
[lyx.git] / src / insets / Inset.h
index be04893b4593eccfc18b2f32faba61da06092dcc..620fc428e0e83a7c538082a26970b836b71eda64 100644 (file)
@@ -436,7 +436,7 @@ public:
        virtual void addPreview(graphics::PreviewLoader &) const {}
        /// Add an entry to the TocList
        /// pit is the ParConstIterator of the paragraph containing the inset
-       virtual void addToToc(ParConstIterator const &) const {}
+       virtual void addToToc(DocIterator const &) {}
        /// Fill keys with BibTeX information
        virtual void fillWithBibKeys(BiblioInfo &, InsetIterator const &) const {}
        /// Update the counters of this inset and of its contents