X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FTextClass.h;h=fa9ac20e1d21a65a65591890c8d31ee70dfc6b17;hb=bea9d2f3f774d62aa48fe83ebbefdd0e7d5f85b9;hp=bf061acd0ff64e3fae2e4a819563babfe371ab07;hpb=3883b85f49054c109cb8a9a293721a5e41edb68d;p=lyx.git diff --git a/src/TextClass.h b/src/TextClass.h index bf061acd0f..fa9ac20e1d 100644 --- a/src/TextClass.h +++ b/src/TextClass.h @@ -389,7 +389,7 @@ private: /// Reads the layout file without running layout2layout. ReturnValues readWithoutConv(support::FileName const & filename, ReadType rt); /// \return true for success. - bool readStyle(Lexer &, Layout &) const; + bool readStyle(Lexer &, Layout &, ReadType) const; /// void readOutputType(Lexer &); /// @@ -435,7 +435,7 @@ public: /// \return true if there is a Layout with latexname lay bool hasLaTeXLayout(std::string const & lay) const; /// A DocumentClass nevers count as loaded, since it is dynamic - virtual bool loaded() const { return false; } + bool loaded() const override { return false; } /// \return the layout object of an inset given by name. If the name /// is not found as such, the part after the ':' is stripped off, and /// searched again. In this way, an error fallback can be provided: