Regression at
3391fed3.
The child's InsetText is the root, so we start with an empty DocIterator.
Thanks Scott for the report.
return;
// Include Tocs from children
- childbuffer->inset().addToToc(cpit, output_active, utype, backend);
+ childbuffer->inset().addToToc(DocIterator(), output_active, utype,
+ backend);
//Copy missing outliner names (though the user has been warned against
//having different document class and module selection between master
//and child).