X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMath.cpp;h=8706001d61dcabde80630d6a3763c7275e3cc388;hb=a68e5b777487b495feeefa53700834ecec6ec196;hp=e3b46b9e5caa484c9613e27ff992af3d85d8d036;hpb=ce8929e9b237af569934b434154d199634363268;p=lyx.git diff --git a/src/mathed/InsetMath.cpp b/src/mathed/InsetMath.cpp index e3b46b9e5c..8706001d61 100644 --- a/src/mathed/InsetMath.cpp +++ b/src/mathed/InsetMath.cpp @@ -58,7 +58,7 @@ MathClass InsetMath::mathClass() const } -InsetMath::marker_type InsetMath::marker() const +InsetMath::marker_type InsetMath::marker(BufferView const *) const { return nargs() > 0 ? MARKER : NO_MARKER; } @@ -68,7 +68,7 @@ bool InsetMath::addToMathRow(MathRow & mrow, MetricsInfo & mi) const { MathRow::Element e(mi, MathRow::INSET, mathClass()); e.inset = this; - e.marker = mi.base.macro_nesting ? NO_MARKER : marker(); + e.marker = mi.base.macro_nesting ? NO_MARKER : marker(mi.base.bv); mrow.push_back(e); return true; } @@ -110,7 +110,7 @@ void InsetMath::write(WriteStream & os) const } -int InsetMath::plaintext(odocstringstream &, +int InsetMath::plaintext(odocstringstream &, OutputParams const &, size_t) const { // all math plain text output shall take place in InsetMathHull