mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-27 14:29:21 +00:00
Fix bug #7547. We need to check whether we are in a multirow here.
Otherwise, we were asking to construct strings of random size at a certain point, e.g., two 2GB strings, in one case I saw. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38704 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
88cdfb0d42
commit
929b7a7d31
@ -3177,7 +3177,7 @@ void Tabular::plaintext(odocstream & os,
|
|||||||
if (!onlydata && plaintextTopHLine(os, r, clen))
|
if (!onlydata && plaintextTopHLine(os, r, clen))
|
||||||
os << docstring(depth * 2, ' ');
|
os << docstring(depth * 2, ' ');
|
||||||
for (col_type c = 0; c < ncols(); ++c) {
|
for (col_type c = 0; c < ncols(); ++c) {
|
||||||
if (isPartOfMultiColumn(r, c))
|
if (isPartOfMultiColumn(r, c) || isPartOfMultiRow(r,c))
|
||||||
continue;
|
continue;
|
||||||
if (onlydata && c > 0)
|
if (onlydata && c > 0)
|
||||||
// we don't use operator<< for single UCS4 character.
|
// we don't use operator<< for single UCS4 character.
|
||||||
|
Loading…
Reference in New Issue
Block a user