]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetTOC.h
Use new display() values to remove some inset hardcoding.
[features.git] / src / insets / InsetTOC.h
index 7801f439ad95dc57dd712ec6f04af2372c84b993..29d5e91e76d4c2fc76ccbb748fd6218c523d8c8c 100644 (file)
@@ -37,7 +37,7 @@ public:
        ///
        docstring layoutName() const;
        ///
-       DisplayType display() const { return AlignCenter; }
+       DisplayType display() const { return Display; }
        ///
        virtual void validate(LaTeXFeatures &) const;
        ///
@@ -70,7 +70,7 @@ private:
        void makeTOCNoDepth(XHTMLStream & xs, Toc const & toc, const OutputParams & op) const;
        ///
        void makeTOCEntry(XHTMLStream & xs, Paragraph const & par, OutputParams const & op) const;
-       
+
        /// \name Private functions inherited from Inset class
        //@{
        ///