]> git.lyx.org Git - features.git/commitdiff
Whitespace cosmetics
authorJuergen Spitzmueller <spitz@lyx.org>
Wed, 27 Sep 2017 16:05:58 +0000 (18:05 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Wed, 27 Sep 2017 16:07:48 +0000 (18:07 +0200)
(cherry picked from commit 745b43784ce1b6981fd31f6c5f5fbd489eef51f4)

src/Buffer.cpp
src/insets/InsetInclude.cpp

index 9c42b07e7f06c82193cbf9ecbefd604cd3aef456..11e46ba0219230850edd3307b350824ecd071409 100644 (file)
@@ -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);
                        }
                }
 
index f966fbcf3046899c1e6a7bb28584730f86ee10b4..6af715fb22ec71cd37dece06be5d96a00f2711d6 100644 (file)
@@ -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_;