]> git.lyx.org Git - lyx.git/blobdiff - src/Changes.cpp
Account for old versions of Pygments
[lyx.git] / src / Changes.cpp
index 5a803c21e843715159ff1c0c81d9d7882093e739..5db28010fa1755deae327cafda4ef0a8e9a5e5cc 100644 (file)
@@ -475,12 +475,12 @@ void Changes::checkAuthors(AuthorList const & authorList)
 
 
 void Changes::addToToc(DocIterator const & cdit, Buffer const & buffer,
-        bool output_active) const
+                       bool output_active, TocBackend & backend) const
 {
        if (table_.empty())
                return;
 
-       shared_ptr<Toc> change_list = buffer.tocBackend().toc("change");
+       shared_ptr<Toc> change_list = backend.toc("change");
        AuthorList const & author_list = buffer.params().authors();
        DocIterator dit = cdit;