]> git.lyx.org Git - lyx.git/blobdiff - src/TextClass.h
PrefLanguageUi.ui: this string was forgotten in r39449
[lyx.git] / src / TextClass.h
index 24ee2aa1f21243b1808b3e9fd5d2202ac9474127..c1e99e950ac16365e17eb464d41934cabd917eec 100644 (file)
@@ -377,7 +377,8 @@ public:
        /// a plain inset layout for use as a default
        static InsetLayout const & plainInsetLayout() { return plain_insetlayout_; }
        /// add a new layout \c name if it does not exist in layoutlist_
-       void addLayoutIfNeeded(docstring const & name) const;
+       /// \return whether we had to add one.
+       bool addLayoutIfNeeded(docstring const & name) const;
 
        ///////////////////////////////////////////////////////////////////
        // accessors