From: Abdelrazak Younes Date: Fri, 31 Aug 2007 14:26:43 +0000 (+0000) Subject: compil fix X-Git-Tag: 1.6.10~8595 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=02227212b20740ae37deaa713eb9f68a437625c8;p=features.git compil fix git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19950 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/mathed/InsetMathMBox.cpp b/src/mathed/InsetMathMBox.cpp index 882c93b618..0e09e11b7a 100644 --- a/src/mathed/InsetMathMBox.cpp +++ b/src/mathed/InsetMathMBox.cpp @@ -67,7 +67,7 @@ bool InsetMathMBox::metrics(MetricsInfo & mi, Dimension & dim) const void InsetMathMBox::draw(PainterInfo & pi, int x, int y) const { - text_.draw(pi, x + 1, y); + pi.base.bv->textMetrics(&text_).draw(pi, x + 1, y); drawMarkers(pi, x, y); }