]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetTabular.cpp
Move contents of paragraph_funcs.* to Text.h and Text.cpp.
[lyx.git] / src / insets / InsetTabular.cpp
index 8ebfeb8110be19b35bf231ed363890daf9f7fcec..1738869e18062fe9a2805ca0df7e36ea982c9c85 100644 (file)
@@ -38,7 +38,6 @@
 #include "LyXRC.h"
 #include "MetricsInfo.h"
 #include "OutputParams.h"
-#include "paragraph_funcs.h"
 #include "Paragraph.h"
 #include "ParagraphParameters.h"
 #include "ParIterator.h"
@@ -1030,7 +1029,7 @@ void toggleFixedWidth(Cursor & cur, InsetTableCell * inset, bool fixedWidth)
        // reset layout
        cur.push(*inset);
        // undo information has already been recorded
-       inset->getText(0)->setLayout(cur.bv().buffer(), 0, cur.lastpit() + 1,
+       inset->getText(0)->setLayout(0, cur.lastpit() + 1,
                        bp.documentClass().plainLayoutName());
        cur.pop();
 }