]> git.lyx.org Git - features.git/blobdiff - src/Paragraph.cpp
Begin undoing the tocString() mess by renaming that routine.
[features.git] / src / Paragraph.cpp
index ed22830e5a9f994f1e200ddfdb812dd6ac39c70a..fb9a832fe2e207c76f2399b863a27666ed910351 100644 (file)
@@ -2928,7 +2928,7 @@ docstring Paragraph::asString(pos_type beg, pos_type end, int options) const
                    || (c == '\n' && (options & AS_STR_NEWLINES)))
                        os.put(c);
                else if (c == META_INSET && (options & AS_STR_INSETS)) {
-                       getInset(i)->tocString(os);
+                       getInset(i)->toString(os);
                        if (getInset(i)->asInsetMath())
                                os << " ";
                }