]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetTOC.h
Fix bug 3363: mark buffer dirty after middle button paste in plain text and table...
[lyx.git] / src / insets / InsetTOC.h
index ebcd554cde6bb41a1d039e85777e3ffe6b331870..c4a6f8d99ff58311d44492edfd20b841b9ed78b7 100644 (file)
@@ -30,13 +30,13 @@ 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;
 };