Fix crash when copying an InsetTabular.

Buffer should not be set when cloning. If there is bug that was fixed by this line of code it should be fixed later by setting the Buffer after the cloning.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31900 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2009-11-08 13:41:29 +00:00
parent 0d016420ce
commit 1a915927b5

View File

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