From: Thibaut Cuvelier Date: Sun, 22 Jan 2023 01:45:25 +0000 (+0100) Subject: InsetMathHull: add a missing const (plus strange indentation fixed). X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=fca8e542890c841ac95209c7714c591308372491;p=features.git InsetMathHull: add a missing const (plus strange indentation fixed). --- diff --git a/src/mathed/InsetMathHull.cpp b/src/mathed/InsetMathHull.cpp index 9c4e6e91fd..537d6670c5 100644 --- a/src/mathed/InsetMathHull.cpp +++ b/src/mathed/InsetMathHull.cpp @@ -2582,7 +2582,7 @@ void InsetMathHull::mathmlize(MathMLStream & ms) const void InsetMathHull::mathAsLatex(TeXMathStream & os) const { MathEnsurer ensurer(os, false); - bool havenumbers = haveNumbers(); + bool const havenumbers = haveNumbers(); bool const havetable = havenumbers || nrows() > 1 || ncols() > 1; if (!havetable) { @@ -2603,7 +2603,7 @@ void InsetMathHull::mathAsLatex(TeXMathStream & os) const docstring const & num = numbers_[row]; if (!num.empty()) os << '(' << num << ')'; - os << ""; + os << ""; } os << ""; }