]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insettext.h
Enable the external inset to handle unknown templates gracefully.
[lyx.git] / src / insets / insettext.h
index e1ad8a8788994a1dc1d11ef7066d26ca3ccedec8..52f76e7e2c9c7f05b2a8360c47f0d6f72aa02d49 100644 (file)
@@ -77,7 +77,7 @@ public:
        ///
        ~InsetText();
        ///
-       Inset * clone(Buffer const &) const;
+       Inset * clone() const;
        ///
        InsetText & operator=(InsetText const & it);
        /// empty inset to empty par, or just mark as erased
@@ -87,7 +87,7 @@ public:
        ///
        void write(Buffer const *, std::ostream &) const;
        ///
-       void dimension(BufferView *, LyXFont const &, Dimension &) const;
+       void metrics(MetricsInfo &, Dimension &) const;
        ///
        int textWidth(BufferView *, bool fordraw = false) const;
        ///