mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 03:36:39 +00:00
Backport fix for 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/branches/BRANCH_2_0_X@38705 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
0ecdd259d9
commit
691107bb7a
@ -3177,7 +3177,7 @@ void Tabular::plaintext(odocstream & os,
|
||||
if (!onlydata && plaintextTopHLine(os, r, clen))
|
||||
os << docstring(depth * 2, ' ');
|
||||
for (col_type c = 0; c < ncols(); ++c) {
|
||||
if (isPartOfMultiColumn(r, c))
|
||||
if (isPartOfMultiColumn(r, c) || isPartOfMultiRow(r,c))
|
||||
continue;
|
||||
if (onlydata && c > 0)
|
||||
// we don't use operator<< for single UCS4 character.
|
||||
|
Loading…
Reference in New Issue
Block a user