Fix bug #6240: Adding table row causes exception that triggers infinite loop in code.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31826 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2009-11-02 07:25:05 +00:00
parent 8f5c3b6219
commit 3533becc2e

View File

@ -548,6 +548,7 @@ Tabular::CellData::CellData(CellData const & cs)
p_width(cs.p_width), p_width(cs.p_width),
inset(dynamic_cast<InsetTableCell *>(cs.inset->clone())) inset(dynamic_cast<InsetTableCell *>(cs.inset->clone()))
{ {
inset->setBuffer(cs.inset->buffer());
} }
Tabular::CellData & Tabular::CellData::operator=(CellData cs) Tabular::CellData & Tabular::CellData::operator=(CellData cs)