]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathMBox.h
Fix bug 5802 (http://bugzilla.lyx.org/show_bug.cgi?id=5802)
[lyx.git] / src / mathed / InsetMathMBox.h
index 4ca1502dc08050643d86c759c53e287da96b6993..ace477a2f9cecbf6ffea1cb2d5921b348fb1a5e4 100644 (file)
@@ -4,7 +4,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author André Pönitz
+ * \author André Pönitz
  *
  * Full author contact details are available in file CREDITS.
  */
@@ -31,10 +31,10 @@ class InsetMathMBox : public InsetMath {
 public:
        ///
        explicit InsetMathMBox();
-       explicit InsetMathMBox(LayoutPtr const & layout);
+       explicit InsetMathMBox(Layout const & layout);
 
        /// this stores metrics information in cache_
-       bool metrics(MetricsInfo & mi, Dimension & dim) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        /// draw according to cached metrics
        void draw(PainterInfo &, int x, int y) const;
        ///
@@ -43,10 +43,9 @@ public:
        bool isActive() const { return true; }
 
        ///
-       void write(Buffer const & buf, WriteStream & os) const;
+       void write(WriteStream & os) const;
        ///
-       int latex(Buffer const &, odocstream & os,
-                       OutputParams const & runparams) const;
+       int latex(odocstream & os, OutputParams const & runparams) const;
        ///
        Text * getText(int) const;
        ///