]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathLefteqn.cpp
Support the mathbbm font.
[lyx.git] / src / mathed / InsetMathLefteqn.cpp
index f66c815179365d9e443ec006f2a170be00e5e573..c4aa8b1f4f093c207e416416bf5c7843f0e0aead 100644 (file)
@@ -3,7 +3,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.
  */
@@ -17,8 +17,8 @@
 
 namespace lyx {
 
-InsetMathLefteqn::InsetMathLefteqn()
-       : InsetMathNest(1)
+InsetMathLefteqn::InsetMathLefteqn(Buffer * buf)
+       : InsetMathNest(buf, 1)
 {}
 
 
@@ -34,14 +34,12 @@ void InsetMathLefteqn::metrics(MetricsInfo & mi, Dimension & dim) const
        dim.asc += 2;
        dim.des += 2;
        dim.wid = 4;
-       metricsMarkers(dim);
 }
 
 
 void InsetMathLefteqn::draw(PainterInfo & pi, int x, int y) const
 {
-       cell(0).draw(pi, x + 2, y);
-       drawMarkers(pi, x, y);
+       cell(0).draw(pi, x + 1, y);
 }