]> git.lyx.org Git - lyx.git/blobdiff - src/TocBackend.cpp
Revert "Fix a number of signedness warnings"
[lyx.git] / src / TocBackend.cpp
index 500d5e3ce0cb1b7b259a135fc5bbff49a0fc7287..d9ed95767a0de1ae426687473bd7e947a243de96 100644 (file)
@@ -153,7 +153,7 @@ TocBuilder & TocBackend::builder(string const & type)
 // TocItem creation and update should be made in a dedicated function and
 // updateItem should be rewritten to uniformly update the matching items from
 // all TOCs.
-bool TocBackend::updateItem(DocIterator const & dit_in)
+bool TocBackend::updateItem(DocIterator const & dit_in) const
 {
        // we need a text
        DocIterator dit = dit_in.getInnerText();