]> git.lyx.org Git - lyx.git/blobdiff - src/TocBackend.h
After a hiatus, I'm returning to the rewrite of InsetCommandParams, the purpose of...
[lyx.git] / src / TocBackend.h
index 0ade8432808d3f7b4f30cc940340cda370328b42..d9111b3d6f7f8ec447ace01b2adc6baf646a38f4 100644 (file)
@@ -95,11 +95,13 @@ public:
 
        ///
        TocList const & tocs() const { return tocs_; }
+       TocList & tocs() { return tocs_; }
 
        ///
        Toc const & toc(std::string const & type) const;
-       /// Return the first Toc Item before the cursor
+       Toc & toc(std::string const & type);
 
+       /// Return the first Toc Item before the cursor
        TocIterator item(
                std::string const & type, ///< Type of Toc.
                ParConstIterator const & ///< The cursor location in the document.