mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Replace ;;
This commit is contained in:
parent
59e2becdd8
commit
8793c2eed9
@ -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());
|
||||
|
@ -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 +
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user