]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetTabular.cpp
revert r30531, which causes a crash when copying an inset.
[lyx.git] / src / insets / InsetTabular.cpp
index 05b8f199a2b5ea35824506c77e3db707df27d6e8..e3611d638b1c2772d1a43e84f640f6fefc1ab6f7 100644 (file)
@@ -11,6 +11,7 @@
  * \author John Levon
  * \author André Pönitz
  * \author Jürgen Vigna
+ * \author Uwe Stöhr
  *
  * Full author contact details are available in file CREDITS.
  */
@@ -3294,12 +3295,6 @@ void InsetTabular::drawCellLines(Painter & pain, int x, int y,
 }
 
 
-docstring InsetTabular::editMessage() const
-{
-       return _("Opened table");
-}
-
-
 void InsetTabular::edit(Cursor & cur, bool front, EntryDirection)
 {
        //lyxerr << "InsetTabular::edit: " << this << endl;
@@ -5157,17 +5152,17 @@ void InsetTabular::setChange(Change const & change)
 }
 
 
-void InsetTabular::acceptChanges()
+void InsetTabular::acceptChanges(BufferParams const & bparams)
 {
        for (idx_type idx = 0; idx < nargs(); ++idx)
-               cell(idx)->acceptChanges();
+               cell(idx)->acceptChanges(bparams);
 }
 
 
-void InsetTabular::rejectChanges()
+void InsetTabular::rejectChanges(BufferParams const & bparams)
 {
        for (idx_type idx = 0; idx < nargs(); ++idx)
-               cell(idx)->rejectChanges();
+               cell(idx)->rejectChanges(bparams);
 }