]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathBox.h
Fix compiling errors caused by r18701 (moving drawMarkers and drawMarkers2 back to...
[lyx.git] / src / mathed / InsetMathBox.h
index 0591d29e0aa8f7b1d6e38332f400df0dd469e9d0..b217dc57fa288778d1ad8c64b783082510cf0181 100644 (file)
@@ -20,7 +20,7 @@
 namespace lyx {
 
 
-class LyXFont;
+class Font;
 
 /// Support for \\mbox
 
@@ -31,7 +31,7 @@ public:
        ///
        mode_type currentMode() const { return TEXT_MODE; }
        ///
-       void metrics(MetricsInfo & mi, Dimension & dim) const;
+       bool metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
@@ -42,7 +42,7 @@ public:
        void infoize(odocstream & os) const;
 
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual std::auto_ptr<Inset> doClone() const;
        ///
        docstring name_;
 };