]> git.lyx.org Git - lyx.git/blobdiff - src/TextClass.h
Clean includes in TextMetrics.cpp
[lyx.git] / src / TextClass.h
index bf061acd0ff64e3fae2e4a819563babfe371ab07..fa9ac20e1d21a65a65591890c8d31ee70dfc6b17 100644 (file)
@@ -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: