mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
Whitespace cosmetics
This commit is contained in:
parent
f2f7ea9edc
commit
745b43784c
@ -538,10 +538,10 @@ Buffer::~Buffer()
|
||||
for (; it != end; ++it) {
|
||||
Buffer * child = const_cast<Buffer *>(it->first);
|
||||
if (theBufferList().isLoaded(child)) {
|
||||
if (theBufferList().isOthersChild(this, child))
|
||||
child->setParent(0);
|
||||
else
|
||||
theBufferList().release(child);
|
||||
if (theBufferList().isOthersChild(this, child))
|
||||
child->setParent(0);
|
||||
else
|
||||
theBufferList().release(child);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -436,7 +436,7 @@ Buffer * InsetInclude::loadIfNeeded() const
|
||||
// Use cached Buffer if possible.
|
||||
if (child_buffer_ != 0) {
|
||||
if (theBufferList().isLoaded(child_buffer_)
|
||||
// additional sanity check: make sure the Buffer really is
|
||||
// additional sanity check: make sure the Buffer really is
|
||||
// associated with the file we want.
|
||||
&& child_buffer_ == theBufferList().getBuffer(included_file))
|
||||
return child_buffer_;
|
||||
|
Loading…
Reference in New Issue
Block a user