]> git.lyx.org Git - features.git/commitdiff
God damn tabular dual head :-/
authorAbdelrazak Younes <younes@lyx.org>
Wed, 23 Jul 2008 13:25:03 +0000 (13:25 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Wed, 23 Jul 2008 13:25:03 +0000 (13:25 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25851 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/InsetTabular.cpp
src/insets/InsetTabular.h

index 959fc257d81633c0574484a20f8f930cf8ede1fd..cbce92c348593b2b8c07740eb93d61e13a1b55b6 100644 (file)
@@ -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)
index 3d0f3453f1d4461eb77e1f04b3c5182847765080..4b2d31d09f070879a59795566e2d4306f0dcb729 100644 (file)
@@ -694,6 +694,9 @@ public:
                     col_type columns = 1);
        ///
        ~InsetTabular();
+       ///
+       void setBuffer(Buffer & buffer);
+
        ///
        static void string2params(std::string const &, InsetTabular &);
        ///