]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathStackrel.h
rename LyXFont to Font except in tex2lyx
[lyx.git] / src / mathed / InsetMathStackrel.h
index 8d9cfc006f85cab901b630fd409b7d634876d159..e9537b4580482fa4b6075ff080c5f7239d3dba0e 100644 (file)
@@ -15,6 +15,9 @@
 #include "InsetMathFracBase.h"
 
 
+namespace lyx {
+
+
 /** Stackrel objects
  *  \author André Pönitz
  *
@@ -25,7 +28,7 @@ public:
        ///
        InsetMathStackrel();
        ///
-       void metrics(MetricsInfo & mi, Dimension & dim) const;
+       bool metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
 
@@ -34,7 +37,10 @@ public:
        ///
        void normalize(NormalStream &) const;
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual std::auto_ptr<Inset> doClone() const;
 };
 
+
+
+} // namespace lyx
 #endif