From: Abdelrazak Younes Date: Wed, 23 Jul 2008 13:25:03 +0000 (+0000) Subject: God damn tabular dual head :-/ X-Git-Tag: 1.6.10~3905 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=b4f4a5c245f6cb5e2896c05e93d64c4c00d1c7ad;p=features.git God damn tabular dual head :-/ git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25851 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/insets/InsetTabular.cpp b/src/insets/InsetTabular.cpp index 959fc257d8..cbce92c348 100644 --- a/src/insets/InsetTabular.cpp +++ b/src/insets/InsetTabular.cpp @@ -2769,6 +2769,13 @@ InsetTabular::~InsetTabular() } +void InsetTabular::setBuffer(Buffer & buf) +{ + tabular.setBuffer(buf); + Inset::setBuffer(buf); +} + + bool InsetTabular::insetAllowed(InsetCode code) const { if (code == MATHMACRO_CODE) diff --git a/src/insets/InsetTabular.h b/src/insets/InsetTabular.h index 3d0f3453f1..4b2d31d09f 100644 --- a/src/insets/InsetTabular.h +++ b/src/insets/InsetTabular.h @@ -694,6 +694,9 @@ public: col_type columns = 1); /// ~InsetTabular(); + /// + void setBuffer(Buffer & buffer); + /// static void string2params(std::string const &, InsetTabular &); ///