X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FMathMacroArgument.cpp;h=76b43f3629f255a0fffc3f5a0ee4186ed8e95bc8;hb=2de30c62f8d671a8c8d4d52a6a7310e2c5ca84de;hp=68f4f98452ede5482bc22278af1863aa023d691f;hpb=f1cba8ff64b369792fd49f5ddf90e8126ab476ac;p=lyx.git diff --git a/src/mathed/MathMacroArgument.cpp b/src/mathed/MathMacroArgument.cpp index 68f4f98452..76b43f3629 100644 --- a/src/mathed/MathMacroArgument.cpp +++ b/src/mathed/MathMacroArgument.cpp @@ -62,14 +62,13 @@ void MathMacroArgument::write(WriteStream & os) const void MathMacroArgument::metrics(MetricsInfo & mi, Dimension & dim) const { - mathed_string_dim(mi.base.font, str_, dim); + metricsStrRedBlack(mi, dim, str_); } void MathMacroArgument::draw(PainterInfo & pi, int x, int y) const { drawStrRed(pi, x, y, str_); - setPosCache(pi, x, y); }