]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetNote.h
Stupid bug fix.
[lyx.git] / src / insets / InsetNote.h
index bf5ca70a3fe0d08c48bee999723d56185231f62b..2f3fe51ae7ab92b28cc4f8619aeec1aebeaedfe2 100644 (file)
@@ -95,7 +95,7 @@ private:
        ///
        bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
        ///
-       void addToToc(ParConstIterator const &) const;
+       void addToToc(DocIterator const &);
        ///
        void doDispatch(Cursor & cur, FuncRequest & cmd);
        ///
@@ -111,6 +111,11 @@ private:
        InsetNoteParams params_;
 };
 
+/**
+ * Mutate all NoteInsets of "source" type to the "target" type in the document.
+ * Returns true when some inset was changed.
+ */
+bool mutateNotes(lyx::Cursor & cur, std::string const & source, std::string const &target);
 
 } // namespace lyx