]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetLabel.cpp
Add a layout tag ForceOwnlines that assures an inset is started and terminated by...
[lyx.git] / src / insets / InsetLabel.cpp
index d78e2b4c7de09811a7d3883178e75e0adc52a688..35d5f543b8f86e4a0d32fa3799b3192c0ecd48e2 100644 (file)
@@ -189,7 +189,7 @@ void InsetLabel::addToToc(DocIterator const & cpit, bool output_active) const
                                output_active));
                else
                        toc.push_back(TocItem(ref_pit, 1,
-                               static_cast<InsetRef *>(it->first)->screenLabel(),
+                               static_cast<InsetRef *>(it->first)->getTOCString(),
                          output_active));
        }
 }