From 691107bb7a730ba2be56b8ab0d1a911a3f528602 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Wed, 11 May 2011 14:14:09 +0000 Subject: [PATCH] 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 --- src/insets/InsetTabular.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/insets/InsetTabular.cpp b/src/insets/InsetTabular.cpp index ad97053bb1..4686862826 100644 --- a/src/insets/InsetTabular.cpp +++ b/src/insets/InsetTabular.cpp @@ -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.