From 02227212b20740ae37deaa713eb9f68a437625c8 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Fri, 31 Aug 2007 14:26:43 +0000 Subject: [PATCH] compil fix git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19950 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/InsetMathMBox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.5