]> git.lyx.org Git - features.git/blobdiff - src/TocBackend.cpp
Unify naming of menu items
[features.git] / src / TocBackend.cpp
index f1e6c2d4e83d3e61ae089a4d9b8c2f972f4bedd1..500d5e3ce0cb1b7b259a135fc5bbff49a0fc7287 100644 (file)
@@ -180,7 +180,7 @@ bool TocBackend::updateItem(DocIterator const & dit_in)
        //
        // FIXME: This is supposed to accomplish the same as the body of
        // InsetText::iterateForToc(), probably
-       Paragraph & par = toc_item->dit().paragraph();
+       Paragraph const & par = toc_item->dit().paragraph();
        for (auto const & table : par.insetList())
                if (InsetArgument const * arg = table.inset->asInsetArgument()) {
                        tocstring = par.labelString();