diff --git a/src/insets/InsetCitation.cpp b/src/insets/InsetCitation.cpp index 337c4bb2dd..5d35f9d5a4 100644 --- a/src/insets/InsetCitation.cpp +++ b/src/insets/InsetCitation.cpp @@ -24,7 +24,7 @@ #include "FuncStatus.h" #include "LaTeXFeatures.h" #include "output_xhtml.h" -#include +#include "output_docbook.h" #include "ParIterator.h" #include "texstream.h" #include "TocBackend.h" diff --git a/src/insets/InsetFloat.cpp b/src/insets/InsetFloat.cpp index 6644d71693..c9f90faf90 100644 --- a/src/insets/InsetFloat.cpp +++ b/src/insets/InsetFloat.cpp @@ -13,7 +13,6 @@ #include #include -#include #include #include "InsetBox.h" @@ -34,6 +33,7 @@ #include "FuncStatus.h" #include "LaTeXFeatures.h" #include "Lexer.h" +#include "output_docbook.h" #include "output_xhtml.h" #include "ParIterator.h" #include "TexRow.h" diff --git a/src/insets/InsetFoot.cpp b/src/insets/InsetFoot.cpp index ad3fc3a641..3a2f5b377d 100644 --- a/src/insets/InsetFoot.cpp +++ b/src/insets/InsetFoot.cpp @@ -10,7 +10,6 @@ */ #include -#include #include "InsetFoot.h" #include "InsetBox.h" @@ -22,6 +21,7 @@ #include "LaTeXFeatures.h" #include "Layout.h" #include "OutputParams.h" +#include "output_docbook.h" #include "ParIterator.h" #include "TextClass.h" #include "TocBackend.h" diff --git a/src/insets/InsetGraphics.cpp b/src/insets/InsetGraphics.cpp index 2b19d50665..b4ddd77a1a 100644 --- a/src/insets/InsetGraphics.cpp +++ b/src/insets/InsetGraphics.cpp @@ -67,6 +67,7 @@ TODO #include "MetricsInfo.h" #include "Mover.h" #include "OutputParams.h" +#include "output_docbook.h" #include "output_xhtml.h" #include "xml.h" #include "texstream.h" @@ -95,7 +96,6 @@ TODO #include #include -#include using namespace std; using namespace lyx::support; diff --git a/src/insets/InsetHyperlink.cpp b/src/insets/InsetHyperlink.cpp index 1444fc19a2..0f039e34d8 100644 --- a/src/insets/InsetHyperlink.cpp +++ b/src/insets/InsetHyperlink.cpp @@ -10,8 +10,6 @@ */ #include -#include - #include "InsetHyperlink.h" #include "Buffer.h" @@ -22,6 +20,7 @@ #include "FuncStatus.h" #include "LaTeXFeatures.h" #include "OutputParams.h" +#include "output_docbook.h" #include "output_xhtml.h" #include "xml.h" #include "texstream.h" diff --git a/src/insets/InsetLine.cpp b/src/insets/InsetLine.cpp index 2479be13a0..e6964aad79 100644 --- a/src/insets/InsetLine.cpp +++ b/src/insets/InsetLine.cpp @@ -24,6 +24,7 @@ #include "Length.h" #include "MetricsInfo.h" #include "OutputParams.h" +#include "output_docbook.h" #include "output_xhtml.h" #include "texstream.h" #include "Text.h" @@ -37,7 +38,6 @@ #include "support/lstrings.h" #include -#include using namespace std; diff --git a/src/insets/InsetMarginal.cpp b/src/insets/InsetMarginal.cpp index 54922fced5..119c636877 100644 --- a/src/insets/InsetMarginal.cpp +++ b/src/insets/InsetMarginal.cpp @@ -10,13 +10,13 @@ */ #include -#include #include "InsetMarginal.h" #include "Buffer.h" #include "BufferParams.h" #include "OutputParams.h" +#include "output_docbook.h" #include "TocBackend.h" #include "support/docstream.h" diff --git a/src/insets/InsetNewline.cpp b/src/insets/InsetNewline.cpp index 86f60f6b3a..05c6ee417f 100644 --- a/src/insets/InsetNewline.cpp +++ b/src/insets/InsetNewline.cpp @@ -10,7 +10,6 @@ */ #include -#include #include "InsetNewline.h" @@ -21,6 +20,7 @@ #include "Lexer.h" #include "MetricsInfo.h" #include "OutputParams.h" +#include "output_docbook.h" #include "output_xhtml.h" #include "texstream.h" diff --git a/src/insets/InsetNote.cpp b/src/insets/InsetNote.cpp index 85469f67ac..fa84c61c87 100644 --- a/src/insets/InsetNote.cpp +++ b/src/insets/InsetNote.cpp @@ -28,6 +28,7 @@ #include "Lexer.h" #include "LyXRC.h" #include "OutputParams.h" +#include "output_docbook.h" #include "ParIterator.h" #include "TextClass.h" #include "TocBackend.h" @@ -42,7 +43,6 @@ #include #include -#include using namespace std; diff --git a/src/insets/InsetScript.cpp b/src/insets/InsetScript.cpp index 3dc9e1248a..eccf3c3029 100644 --- a/src/insets/InsetScript.cpp +++ b/src/insets/InsetScript.cpp @@ -26,6 +26,7 @@ #include "LyXAction.h" #include "MetricsInfo.h" #include "OutputParams.h" +#include "output_docbook.h" #include "output_xhtml.h" #include "TextClass.h" #include "TextMetrics.h" @@ -40,7 +41,6 @@ #include "frontends/Painter.h" #include -#include using namespace std; diff --git a/src/insets/InsetSeparator.cpp b/src/insets/InsetSeparator.cpp index b588b39439..efe6a483b0 100644 --- a/src/insets/InsetSeparator.cpp +++ b/src/insets/InsetSeparator.cpp @@ -9,7 +9,6 @@ */ #include -#include #include "InsetSeparator.h" @@ -20,6 +19,7 @@ #include "Lexer.h" #include "MetricsInfo.h" #include "OutputParams.h" +#include "output_docbook.h" #include "output_xhtml.h" #include "texstream.h"