in it will be the one Buffer we are cloning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40358
a592a061-630c-0410-9148-
cb99ea01b6c8
Buffer * Buffer::cloneBufferOnly() const {
+ cloned_buffers.push_back(new CloneList());
+ CloneList * clones = cloned_buffers.back();
Buffer * buffer_clone = new Buffer(fileName().absFileName(), false, this);
+ clones->insert(buffer_clone);
// we won't be cloning the children
buffer_clone->d->children_positions.clear();
return buffer_clone;