From a0bd27d8b17b7109b2a171c5c8ce526e27150684 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Wed, 27 Sep 2017 18:05:58 +0200 Subject: [PATCH] Whitespace cosmetics (cherry picked from commit 745b43784ce1b6981fd31f6c5f5fbd489eef51f4) --- src/Buffer.cpp | 8 ++++---- src/insets/InsetInclude.cpp | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Buffer.cpp b/src/Buffer.cpp index 9c42b07e7f..11e46ba021 100644 --- a/src/Buffer.cpp +++ b/src/Buffer.cpp @@ -538,10 +538,10 @@ Buffer::~Buffer() for (; it != end; ++it) { Buffer * child = const_cast(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); } } diff --git a/src/insets/InsetInclude.cpp b/src/insets/InsetInclude.cpp index f966fbcf30..6af715fb22 100644 --- a/src/insets/InsetInclude.cpp +++ b/src/insets/InsetInclude.cpp @@ -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_;