mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 19:25:39 +00:00
fix typo: double semicolon at line end of code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36985 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
89c1d25250
commit
ab9de435b4
@ -154,7 +154,7 @@ bool bruteFind(Cursor & cursor,
|
|||||||
else
|
else
|
||||||
++et.pit();
|
++et.pit();
|
||||||
|
|
||||||
double best_dist = numeric_limits<double>::max();;
|
double best_dist = numeric_limits<double>::max();
|
||||||
DocIterator best_cursor = et;
|
DocIterator best_cursor = et;
|
||||||
|
|
||||||
for ( ; it != et; it.forwardPos(true)) {
|
for ( ; it != et; it.forwardPos(true)) {
|
||||||
|
@ -73,7 +73,7 @@ GuiLine::GuiLine(QWidget * parent) : InsetParamsWidget(parent)
|
|||||||
docstring GuiLine::dialogToParams() const
|
docstring GuiLine::dialogToParams() const
|
||||||
{
|
{
|
||||||
InsetCommandParams params(insetCode());
|
InsetCommandParams params(insetCode());
|
||||||
params["offset"] = from_utf8(widgetsToLength(OffsetLE, OffsetUnitCO));;
|
params["offset"] = from_utf8(widgetsToLength(OffsetLE, OffsetUnitCO));
|
||||||
params["width"] = from_utf8(widgetsToLength(WidthLE, WidthUnitCO));
|
params["width"] = from_utf8(widgetsToLength(WidthLE, WidthUnitCO));
|
||||||
params["height"] = from_utf8(widgetsToLength(HeightLE, HeightUnitCO));
|
params["height"] = from_utf8(widgetsToLength(HeightLE, HeightUnitCO));
|
||||||
params.setCmdName("rule");
|
params.setCmdName("rule");
|
||||||
|
@ -986,14 +986,14 @@ void InsetMathGrid::mathmlize(MathStream & os) const
|
|||||||
char const * const celltag = havetable ? "mtd" : "mrow";
|
char const * const celltag = havetable ? "mtd" : "mrow";
|
||||||
for (row_type row = 0; row < nrows(); ++row) {
|
for (row_type row = 0; row < nrows(); ++row) {
|
||||||
if (havetable)
|
if (havetable)
|
||||||
os << MTag("mtr");;
|
os << MTag("mtr");
|
||||||
for (col_type col = 0; col < ncols(); ++col) {
|
for (col_type col = 0; col < ncols(); ++col) {
|
||||||
os << MTag(celltag);
|
os << MTag(celltag);
|
||||||
os << cell(index(row, col));
|
os << cell(index(row, col));
|
||||||
os << ETag(celltag);
|
os << ETag(celltag);
|
||||||
}
|
}
|
||||||
if (havetable)
|
if (havetable)
|
||||||
os << ETag("mtr");;
|
os << ETag("mtr");
|
||||||
}
|
}
|
||||||
if (havetable)
|
if (havetable)
|
||||||
os << ETag("mtable");
|
os << ETag("mtable");
|
||||||
@ -1011,13 +1011,13 @@ void InsetMathGrid::htmlize(HtmlStream & os, string attrib) const
|
|||||||
}
|
}
|
||||||
os << MTag("table", attrib);
|
os << MTag("table", attrib);
|
||||||
for (row_type row = 0; row < nrows(); ++row) {
|
for (row_type row = 0; row < nrows(); ++row) {
|
||||||
os << MTag("tr");;
|
os << MTag("tr");
|
||||||
for (col_type col = 0; col < ncols(); ++col) {
|
for (col_type col = 0; col < ncols(); ++col) {
|
||||||
os << MTag("td");
|
os << MTag("td");
|
||||||
os << cell(index(row, col));
|
os << cell(index(row, col));
|
||||||
os << ETag("td");
|
os << ETag("td");
|
||||||
}
|
}
|
||||||
os << ETag("tr");;
|
os << ETag("tr");
|
||||||
}
|
}
|
||||||
os << ETag("table");
|
os << ETag("table");
|
||||||
}
|
}
|
||||||
|
@ -166,7 +166,7 @@ void InsetMathString::write(WriteStream & os) const
|
|||||||
}
|
}
|
||||||
case WriteStream::wsPreview: {
|
case WriteStream::wsPreview: {
|
||||||
// indicate the encoding error by a boxed '?'
|
// indicate the encoding error by a boxed '?'
|
||||||
os << "{\\fboxsep=1pt\\fbox{?}}";;
|
os << "{\\fboxsep=1pt\\fbox{?}}";
|
||||||
LYXERR0("Uncodable character" << " '"
|
LYXERR0("Uncodable character" << " '"
|
||||||
<< docstring(1, e.failed_char)
|
<< docstring(1, e.failed_char)
|
||||||
<< "'");
|
<< "'");
|
||||||
|
Loading…
Reference in New Issue
Block a user