]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetFoot.cpp
Make undo action no-ops when the buffer is read-only
[lyx.git] / src / insets / InsetFoot.cpp
index ad3fc3a641fb0e64c0d84de807f5871e864f062b..6de5e1353472ec0f1ab8f258957afb83427f9fa1 100644 (file)
@@ -10,7 +10,6 @@
  */
 
 #include <config.h>
-#include <output_docbook.h>
 
 #include "InsetFoot.h"
 #include "InsetBox.h"
@@ -21,7 +20,7 @@
 #include "Language.h"
 #include "LaTeXFeatures.h"
 #include "Layout.h"
-#include "OutputParams.h"
+#include "output_docbook.h"
 #include "ParIterator.h"
 #include "TextClass.h"
 #include "TocBackend.h"
@@ -128,6 +127,8 @@ void InsetFoot::docbook(XMLStream & xs, OutputParams const & runparams) const
        OutputParams rp = runparams;
        rp.docbook_force_pars = true;
        rp.docbook_in_par = false;
+       rp.docbook_consider_allow_multi_par = false;
+       rp.docbook_make_pars = true;
        InsetText::docbook(xs, rp);
 }