X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FFormat.h;h=495d9b1c8ba811df20ece3e526dd7385c787038b;hb=d9f1f7e348d3175bb9bd72d42a113bf1e644031e;hp=4fcd3c955316d00b7a6c90882429cef1bfa403a3;hpb=d76cef70a0320212adb3cfcf73aa77174802e4fc;p=lyx.git diff --git a/src/Format.h b/src/Format.h index 4fcd3c9553..495d9b1c8b 100644 --- a/src/Format.h +++ b/src/Format.h @@ -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.