]> git.lyx.org Git - lyx.git/blobdiff - src/tests/check_layout.cpp
Cache icons of dynamic menu buttons
[lyx.git] / src / tests / check_layout.cpp
index 7100c712d8c22971be4ff8ba1aab39ffdc1821ec..afdb66777dfc3b3abef6a1f7ff3214ea2f53c0a8 100644 (file)
@@ -1,5 +1,6 @@
 #include <config.h>
 
+#include "../support/debug.h"
 #include "../support/FileName.h"
 #include "../support/filetools.h"
 #include "../Format.h"
@@ -20,7 +21,7 @@ using namespace std;
 namespace lyx {
 namespace frontend {
 namespace Alert {
-void warning(docstring const & title, docstring const & message, bool const &)
+void warning(docstring const & title, docstring const & message, bool)
 {
        LYXERR0(title);
        LYXERR0(message);
@@ -57,7 +58,7 @@ bool test_Layout(string const & input, string const & output)
                return false;
        }
        LayoutFile const & f = l[i];
-       ostream * os = NULL;
+       ostream * os = nullptr;
        if (output == "-")
                os = &cout;
        else if (!output.empty())