]> git.lyx.org Git - lyx.git/blobdiff - src/tests/check_layout.cpp
DocBook: fix file inclusion.
[lyx.git] / src / tests / check_layout.cpp
index 646108c3b766a9522267f0f905a94085e79fc280..039d51b22289325679fb513565dc93493a7f3708 100644 (file)
@@ -20,13 +20,13 @@ 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);
 }
-}
-}
+} // namespace Alert
+} // namespace frontend
 
 bool LaTeXFeatures::isAvailable(std::string const &)
 {
@@ -38,7 +38,7 @@ bool Formats::isZippedFile(support::FileName const &) const
 {
        return false;
 }
-}
+} // namespace lyx
 
 
 using namespace lyx::support;
@@ -57,7 +57,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())