mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Minor cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40201 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
2b4fb23941
commit
94f0968e92
@ -400,7 +400,7 @@ Buffer::~Buffer()
|
||||
Impl::BufferPositionMap::iterator end = d->children_positions.end();
|
||||
for (; it != end; ++it) {
|
||||
Buffer * child = const_cast<Buffer *>(it->first);
|
||||
if (d->cloned_buffer_)
|
||||
if (isClone())
|
||||
delete child;
|
||||
// The child buffer might have been closed already.
|
||||
else if (theBufferList().isLoaded(child))
|
||||
|
Loading…
Reference in New Issue
Block a user