]> git.lyx.org Git - lyx.git/blobdiff - src/Format.h
Remove now redundant string
[lyx.git] / src / Format.h
index 4fcd3c955316d00b7a6c90882429cef1bfa403a3..495d9b1c8ba811df20ece3e526dd7385c787038b 100644 (file)
@@ -152,6 +152,8 @@ public:
        Format & get(FormatList::size_type i) { return formatlist_[i]; }
        /// \returns format named \p name if it exists, otherwise 0
        Format const * getFormat(std::string const & name) const;
+       /// \returns format named \p name if it exists, otherwise 0
+       Format * getFormat(std::string const & name);
        /*!
         * Get the format of \p filename from file contents or, if this
         * fails, from file extension.