]> git.lyx.org Git - lyx.git/blobdiff - src/Layout.h
Fix typo for r30882.
[lyx.git] / src / Layout.h
index aeca0f4f83ae7c9b6a84b672704d0aefb61a0fe2..b9d33473894d04c2071e551d7ae1c7ef861af12c 100644 (file)
@@ -85,7 +85,8 @@ public:
        ///
        void setLatexName(std::string const & n) { latexname_ = n; }
        ///
-       docstring const & labelstring() const { return labelstring_; }
+       docstring const & labelstring(bool in_appendix) const 
+       { return in_appendix ? labelstring_appendix_ : labelstring_; }
        ///
        docstring const & endlabelstring() const { return endlabelstring_; }
        ///
@@ -127,10 +128,6 @@ public:
        /// 
        docstring const & htmlpreamble() const { return htmlpreamble_; }
        ///
-       docstring const & labelstring_appendix() const {
-               return labelstring_appendix_;
-       }
-       ///
        bool isParagraph() const { return latextype == LATEX_PARAGRAPH; }
        ///
        bool isCommand() const { return latextype == LATEX_COMMAND; }