From 929b7a7d3106baa425f981ece3a264689d776075 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Wed, 11 May 2011 14:12:00 +0000 Subject: [PATCH] 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 --- 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.