]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetExternal.h
pimpl not needed here
[lyx.git] / src / insets / InsetExternal.h
index c0e35531aad712f1d1fe68a2a0b07b19e6fec511..993354d328427248b97d81773612bcdeded8f7dc 100644 (file)
@@ -112,12 +112,12 @@ public:
        ///
        virtual ~InsetExternal();
        ///
-       virtual Inset::Code lyxCode() const { return EXTERNAL_CODE; }
+       virtual InsetCode lyxCode() const { return EXTERNAL_CODE; }
        ///
        virtual EDITABLE editable() const { return IS_EDITABLE; }
 
        ///
-       bool metrics(MetricsInfo &, Dimension &) const;
+       void metrics(MetricsInfo &, Dimension &) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///