}
// Make sure there is no class difference.
- InsetText in(cur.buffer());
+ InsetText in;
// This works without copying any paragraph data because we have
// a specialized swap method for ParagraphList. This is important
// since we store pointers to insets at some places and we don't
}
// Prepare the paragraphs and insets for insertion.
- // Insets store buffer references so need updating.
+ // A couple of insets store buffer references so need updating.
insertion.swap(in.paragraphs());
InsetIterator const i_end = inset_iterator_end(in);