]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetFootlike.h
Andre's s/getTextClass/textClass/ cleanup.
[lyx.git] / src / insets / InsetFootlike.h
index bc1ce1ab9185f0c4f3112983b87af5ce46f546ea..dfacbe9900fa8e6ff53f819353574e01f1d40e43 100644 (file)
@@ -27,13 +27,15 @@ public:
        ///
        InsetFootlike(InsetFootlike const &);
        ///
-       bool metrics(MetricsInfo &, Dimension &) const;
+       void metrics(MetricsInfo &, Dimension &) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
        void write(Buffer const & buf, std::ostream & os) const;
        ///
-       bool insetAllowed(InsetBase::Code) const;
+       bool isMacroScope(Buffer const &) const { return true; }
+       ///
+       bool insetAllowed(InsetCode) const;
        /** returns true if, when outputing LaTeX, font changes should
            be closed before generating this inset. This is needed for
            insets that may contain several paragraphs */