]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetTOC.h
* src/paragraph_funcs.cpp (breakParagraph): change parameter 'flag' to
[lyx.git] / src / insets / InsetTOC.h
index ebcd554cde6bb41a1d039e85777e3ffe6b331870..b020f0b9abd0fc098b0a85012376adde78ad0668 100644 (file)
@@ -30,15 +30,15 @@ public:
        ///
        Inset::Code lyxCode() const;
        ///
-       bool display() const { return true; }
+       DisplayType display() const { return AlignCenter; }
        ///
        int plaintext(Buffer const &, odocstream &,
-                     OutputParams const &) const;
+                     OutputParams const &) const;
        ///
        int docbook(Buffer const &, odocstream &,
-                   OutputParams const &) const;
+                   OutputParams const &) const;
 private:
-       virtual std::auto_ptr<Inset> doClone() const;
+       virtual Inset * clone() const;
 };