]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetBranch.cpp
Move some stuff from InsetFlex to InsetCollapsable, and make use of the
[features.git] / src / insets / InsetBranch.cpp
index d33069f62b3ec635518200af8f5b47372c6dcff8..5353fde278fb73702c3fe0d0fdc595d4cc3e9166 100644 (file)
@@ -235,7 +235,7 @@ int InsetBranch::docbook(odocstream & os,
 void InsetBranch::tocString(odocstream & os) const
 {
        if (isBranchSelected())
-               os << text().asString(0, 1, AS_STR_LABEL | AS_STR_INSETS);
+               InsetCollapsable::tocString(os);
 }