]> git.lyx.org Git - lyx.git/blobdiff - src/TextClass.h
Revert previous commit, which committed too much.
[lyx.git] / src / TextClass.h
index c1e99e950ac16365e17eb464d41934cabd917eec..24ee2aa1f21243b1808b3e9fd5d2202ac9474127 100644 (file)
@@ -377,8 +377,7 @@ 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_
-       /// \return whether we had to add one.
-       bool addLayoutIfNeeded(docstring const & name) const;
+       void addLayoutIfNeeded(docstring const & name) const;
 
        ///////////////////////////////////////////////////////////////////
        // accessors