]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetText.h
Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=4910 by creating InsetText::addToToc().
[lyx.git] / src / insets / InsetText.h
index 644a7fede572e262a4c1f9d209c237e55be54741..33c5b474b3614b29d6470126a4ab3497f9da9e90 100644 (file)
@@ -37,6 +37,8 @@ public:
        ///
        explicit InsetText(Buffer const & buffer);
        ///
+       InsetText();
+       ///
        InsetText(InsetText const &);
        ///
        void initParagraphs(Buffer const & buffer);
@@ -135,6 +137,8 @@ public:
        // Update the counters of this inset and of its contents
        void updateLabels(ParIterator const &);
        ///
+       void addToToc(DocIterator const &);
+       ///
        Inset * clone() const { return new InsetText(*this); }
        ///
        bool notifyCursorLeaves(Cursor const & old, Cursor & cur);