]> git.lyx.org Git - lyx.git/blobdiff - src/Buffer.cpp
gcc compile fix: vector::insert() requires an iterator, not a const_iterator.
[lyx.git] / src / Buffer.cpp
index e653438736bf30b417d8b0ec2c1289fc04210435..434f56103ab63027f257b7ced4414aed19612e63 100644 (file)
@@ -2158,6 +2158,14 @@ ErrorList & Buffer::errorList(string const & type) const
 }
 
 
+void Buffer::updateTocItem(std::string const & type,
+       DocIterator const & dit) const
+{
+       if (gui_)
+               gui_->updateTocItem(type, dit);
+}
+
+
 void Buffer::structureChanged() const
 {
        if (gui_)