]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathSymbol.h
revert last patch. there's something wrong, possibly unrelated to this
[lyx.git] / src / mathed / InsetMathSymbol.h
index 60f4028fb063264d21722472b7b9da4375ec85cf..76651ef1cd64396384d0a579726c3eb7a6321967 100644 (file)
@@ -14,8 +14,6 @@
 
 #include "InsetMath.h"
 
-#include "Font.h"
-
 namespace lyx {
 
 class latexkeys;
@@ -33,11 +31,11 @@ public:
        ///
        explicit InsetMathSymbol(docstring const & name);
        ///
-       bool metrics(MetricsInfo & mi, Dimension & dim) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo &, int x, int y) const;
        ///
-       int kerning() const { return kerning_; }
+       int kerning(BufferView const *) const { return kerning_; }
 
        ///
        bool isRelOp() const;
@@ -72,7 +70,7 @@ public:
        void infoize2(odocstream & os) const;
 
 private:
-       virtual std::auto_ptr<Inset> doClone() const;
+       virtual Inset * clone() const;
        ///
        latexkeys const * sym_;
        ///