]> git.lyx.org Git - features.git/blobdiff - src/TextClass.h
Fix a number of issues that were stopping compilation with MSVC 19.
[features.git] / src / TextClass.h
index 65891397b95f6427181062b0abdf390199bb82b8..207b868a4b5379a5e2d5dd48eea288dd5b74317f 100644 (file)
@@ -211,7 +211,11 @@ public:
        bool hasOutputFormat() const { return has_output_format_; }
        /// Return the non-localised names for the toc types.
        std::map<std::string, docstring> const &
-       outlinerNames() const { return outliner_names_; }
+               outlinerNames() const { return outliner_names_; }
+       /// \returns Layout named \p name if it exists, otherwise 0
+       Layout const * getLayout(docstring const & name) const;
+       /// \returns Layout named \p name if it exists, otherwise 0
+       Layout * getLayout(docstring const & name);
 
 protected:
        /// Protect construction