]> git.lyx.org Git - features.git/blobdiff - src/output_docbook.cpp
Move contents of paragraph_funcs.* to Text.h and Text.cpp.
[features.git] / src / output_docbook.cpp
index 59412b9adae333c32f9f3c23ac4e2d56ed59c06d..cfb6980336317bbaf8f32188f45582df5f12b417 100644 (file)
 #include "Layout.h"
 #include "OutputParams.h"
 #include "Paragraph.h"
-#include "paragraph_funcs.h"
 #include "ParagraphList.h"
 #include "ParagraphParameters.h"
 #include "sgml.h"
+#include "Text.h"
 #include "TextClass.h"
 
 #include "support/lassert.h"
@@ -190,7 +190,12 @@ ParagraphList::const_iterator makeEnvironment(Buffer const & buf,
                        send = searchParagraph(par, pend);
                        par = makeParagraph(buf, os, runparams, paragraphs, par,send);
                        break;
-               default:
+               case LATEX_LIST_ENVIRONMENT:
+               case LATEX_BIB_ENVIRONMENT:
+               case LATEX_COMMAND:
+                       // FIXME This means that we are just skipping any paragraph that
+                       // isn't implemented above, and this includes lists.
+                       ++par;
                        break;
                }