mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +00:00
Fix some indentation issues.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39970 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
01f9794b50
commit
acc709a600
@ -1907,24 +1907,25 @@ int InsetMathHull::plaintext(odocstream & os, OutputParams const &) const
|
||||
// reset metrics cache to "real" values
|
||||
//metrics();
|
||||
return tpain.textheight();
|
||||
} else {
|
||||
odocstringstream oss;
|
||||
Encoding const * const enc = encodings.fromLyXName("utf8");
|
||||
WriteStream wi(oss, false, true, WriteStream::wsDefault, enc);
|
||||
// Fix Bug #6139
|
||||
if (type_ == hullRegexp)
|
||||
write(wi);
|
||||
else {
|
||||
for (row_type r = 0; r < nrows(); ++r) {
|
||||
for (col_type c = 0; c < ncols(); ++c)
|
||||
wi << (c == 0 ? "" : "\t") << cell(index(r, c));
|
||||
wi << "\n";
|
||||
}
|
||||
}
|
||||
docstring const str = oss.str();
|
||||
os << str;
|
||||
return str.size();
|
||||
}
|
||||
|
||||
odocstringstream oss;
|
||||
Encoding const * const enc = encodings.fromLyXName("utf8");
|
||||
WriteStream wi(oss, false, true, WriteStream::wsDefault, enc);
|
||||
|
||||
// Fix Bug #6139
|
||||
if (type_ == hullRegexp)
|
||||
write(wi);
|
||||
else {
|
||||
for (row_type r = 0; r < nrows(); ++r) {
|
||||
for (col_type c = 0; c < ncols(); ++c)
|
||||
wi << (c == 0 ? "" : "\t") << cell(index(r, c));
|
||||
wi << "\n";
|
||||
}
|
||||
}
|
||||
docstring const str = oss.str();
|
||||
os << str;
|
||||
return str.size();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user