From 8793c2eed949cd925a933724ead36326d8cc549c Mon Sep 17 00:00:00 2001 From: Yuriy Skalko Date: Thu, 26 Nov 2020 22:14:43 +0200 Subject: [PATCH] Replace ;; --- src/insets/InsetNewpage.cpp | 2 +- src/mathed/InsetMathGrid.cpp | 2 +- src/mathed/InsetMathMacroTemplate.cpp | 2 +- src/mathed/InsetMathSpecialChar.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/insets/InsetNewpage.cpp b/src/insets/InsetNewpage.cpp index 7e91e689e0..7acd3a01a0 100644 --- a/src/insets/InsetNewpage.cpp +++ b/src/insets/InsetNewpage.cpp @@ -162,7 +162,7 @@ void InsetNewpage::draw(PainterInfo & pi, int x, int y) const pi.pain.lines(xp, yp, 2, ColorName()); //mid-rule - xp[0] = xp[1] = int(x + wid * 0.5);; + xp[0] = xp[1] = int(x + wid * 0.5); yp[0] = int(y - 0.875 * asc * 0.75); yp[1] = int(y - 0.125 * asc * 0.75); pi.pain.lines(xp, yp, 2, ColorName()); diff --git a/src/mathed/InsetMathGrid.cpp b/src/mathed/InsetMathGrid.cpp index ba3bda6d95..7158df2e43 100644 --- a/src/mathed/InsetMathGrid.cpp +++ b/src/mathed/InsetMathGrid.cpp @@ -483,7 +483,7 @@ void InsetMathGrid::metrics(MetricsInfo & mi, Dimension & dim) const colinfo_[ncols()].width = 0; // compute horizontal offsets - colinfo_[0].offset = border() + colinfo_[0].lines * vlinesep();; + colinfo_[0].offset = border() + colinfo_[0].lines * vlinesep(); for (col_type col = 1; col <= ncols(); ++col) { colinfo_[col].offset = colinfo_[col - 1].offset + diff --git a/src/mathed/InsetMathMacroTemplate.cpp b/src/mathed/InsetMathMacroTemplate.cpp index 1152936ee2..7f43586513 100644 --- a/src/mathed/InsetMathMacroTemplate.cpp +++ b/src/mathed/InsetMathMacroTemplate.cpp @@ -573,7 +573,7 @@ void InsetMathMacroTemplate::metrics(MetricsInfo & mi, Dimension & dim) const if (macro) macro->unlock(); - dim.wid += leftOffset(mi.base.bv) + rightOffset(mi.base.bv);; + dim.wid += leftOffset(mi.base.bv) + rightOffset(mi.base.bv); dim.des += bottomOffset(mi.base.bv); dim.asc += topOffset(mi.base.bv); } diff --git a/src/mathed/InsetMathSpecialChar.cpp b/src/mathed/InsetMathSpecialChar.cpp index 701bcc8686..f2a9a737f3 100644 --- a/src/mathed/InsetMathSpecialChar.cpp +++ b/src/mathed/InsetMathSpecialChar.cpp @@ -56,7 +56,7 @@ Inset * InsetMathSpecialChar::clone() const void InsetMathSpecialChar::metrics(MetricsInfo & mi, Dimension & dim) const { if (mi.base.fontname == "mathnormal") { - Changer dummy = mi.base.font.changeShape(UP_SHAPE);; + Changer dummy = mi.base.font.changeShape(UP_SHAPE); dim = theFontMetrics(mi.base.font).dimension(char_); } else { frontend::FontMetrics const & fm = theFontMetrics(mi.base.font); -- 2.39.5