From 1a915927b519be38bfc3dc206450c88a75f7c3ed Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Sun, 8 Nov 2009 13:41:29 +0000 Subject: [PATCH] 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 --- src/insets/InsetTabular.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/insets/InsetTabular.cpp b/src/insets/InsetTabular.cpp index 611e29f01b..e285340926 100644 --- a/src/insets/InsetTabular.cpp +++ b/src/insets/InsetTabular.cpp @@ -548,7 +548,6 @@ Tabular::CellData::CellData(CellData const & cs) p_width(cs.p_width), inset(dynamic_cast(cs.inset->clone())) { - inset->setBuffer(cs.inset->buffer()); } Tabular::CellData & Tabular::CellData::operator=(CellData cs) -- 2.39.2