From b4f4a5c245f6cb5e2896c05e93d64c4c00d1c7ad Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Wed, 23 Jul 2008 13:25:03 +0000 Subject: [PATCH] God damn tabular dual head :-/ git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25851 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/InsetTabular.cpp | 7 +++++++ src/insets/InsetTabular.h | 3 +++ 2 files changed, 10 insertions(+) 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 &); /// -- 2.39.2