X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetLabel.cpp;h=35d5f543b8f86e4a0d32fa3799b3192c0ecd48e2;hb=a25569ebb3e739779ff458b287e403c3bf79777a;hp=d78e2b4c7de09811a7d3883178e75e0adc52a688;hpb=b57eb397315d24d9a393af5245aa4265c17b1dad;p=lyx.git diff --git a/src/insets/InsetLabel.cpp b/src/insets/InsetLabel.cpp index d78e2b4c7d..35d5f543b8 100644 --- a/src/insets/InsetLabel.cpp +++ b/src/insets/InsetLabel.cpp @@ -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(it->first)->screenLabel(), + static_cast(it->first)->getTOCString(), output_active)); } }