]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathFontOld.h
InsetMathHull.cpp: whitespace
[lyx.git] / src / mathed / InsetMathFontOld.h
index 6239b9fa31611ca49417072580770f552c33ac76..10ef8305e09fbdae44c5383ecb2f27adab4ef6ca 100644 (file)
@@ -15,6 +15,9 @@
 #include "InsetMathNest.h"
 
 
+namespace lyx {
+
+
 class latexkeys;
 
 /// Old-style font changes
@@ -39,11 +42,16 @@ public:
        ///
        void normalize(NormalStream &) const;
        ///
-       void infoize(std::ostream & os) const;
+       void infoize(odocstream & os) const;
+       ///
+       int kerning(BufferView const * bv) const { return cell(0).kerning(bv); }
 
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual Inset * clone() const;
        /// the font to be used on screen
        latexkeys const * key_;
 };
+
+
+} // namespace lyx
 #endif