]> git.lyx.org Git - lyx.git/blobdiff - src/Layout.h
Fix bug #7212: Paragraph::forToc has to include the labelString.
[lyx.git] / src / Layout.h
index a80999701814bf3e75e8e31c475619bbc8c55775..5b22f90cc3d291da37404f7582da0b6dd23974d1 100644 (file)
@@ -95,10 +95,10 @@ public:
        docstring const & preamble() const { return preamble_; }
        /// Get language dependent macro definitions needed for this layout
        /// for language \p lang
-       docstring const langpreamble(Language const * lang) const;
+       docstring const langpreamble(Language const * lang, bool const polyglossia) const;
        /// Get language and babel dependent macro definitions needed for
        /// this layout for language \p lang
-       docstring const babelpreamble(Language const * lang) const;
+       docstring const babelpreamble(Language const * lang, bool const polyglossia) const;
        ///
        std::set<std::string> const & requires() const { return requires_; }
        ///