]> git.lyx.org Git - features.git/blobdiff - src/insets/insettoc.h
read ChangeLog, a lot of whitespace changes. experimental use of libtool
[features.git] / src / insets / insettoc.h
index 34e1dbc0ed60d0b65f3cff6ca6f24f555991941a..103f79567363a2c881cdfb9c5a2d7ddab1ac9a24 100644 (file)
@@ -30,7 +30,7 @@ public:
        ///
        InsetTOC(Buffer * b): InsetCommand("tableofcontents"), owner(b) {}
         ///
-        Inset * Clone() { return new InsetTOC(owner); }
+        InsetTOC * Clone() const { return new InsetTOC(owner); }
        ///
        string getScreenLabel() const { return _("Table of Contents"); }
        /// On edit, we open the TOC pop-up
@@ -40,7 +40,7 @@ public:
                return 1;
        }
        ///
-       bool Display() const { return true; }
+       bool display() const { return true; }
        ///
        Inset::Code LyxCode() const { return Inset::TOC_CODE; }
        ///