]> git.lyx.org Git - lyx.git/blobdiff - src/Layout.cpp
This is the first of a series of commits that will make InsetLayout a real class.
[lyx.git] / src / Layout.cpp
index ebf301abddedc44ee01080a81e0def81c380fae2..c29f0bd1f8a0d0a0359e18410488b417a7e38952 100644 (file)
@@ -16,9 +16,8 @@
 #include "TextClass.h"
 #include "Lexer.h"
 #include "Font.h"
-#include "support/debug.h"
-
 
+#include "support/debug.h"
 #include "support/lstrings.h"
 
 #include <ostream>
@@ -498,7 +497,7 @@ bool Layout::read(Lexer & lexrc, TextClass const & tclass)
        }
        lexrc.popTable();
 
-       return error;
+       return !error;
 }