using std::endl;
using std::ostream;
-namespace toc
-{
+namespace lyx {
+namespace toc {
string const TocItem::asString() const
{
} else if (it->inset->lyxCode() == InsetOld::WRAP_CODE) {
InsetWrap * il =
static_cast<InsetWrap*>(it->inset);
+
il->addToToc(toclist, buf);
}
}
} // namespace toc
+} // namespace lyx