]> git.lyx.org Git - lyx.git/blobdiff - src/TocBackend.h
Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=5285 .
[lyx.git] / src / TocBackend.h
index 0e3d4f1f7e6b1e9a9ec5f095b325c0ccbf992608..1e5b031a73cdfe251ad44d6b547461fe817ceb67 100644 (file)
@@ -97,8 +97,8 @@ public:
        void setBuffer(Buffer const * buffer) { buffer_ = buffer; }
        ///
        void update();
-       ///
-       void updateItem(DocIterator const & pit);
+       /// \return true if the item was updated.
+       bool updateItem(DocIterator const & pit);
 
        ///
        TocList const & tocs() const { return tocs_; }