[LyX/master] Cleanup included headers
Yuriy Skalko
yuriy.skalko at gmail.com
Sat Nov 28 21:55:42 UTC 2020
commit 813eb0f9f7830c8dc8eec8c16da8512a73e81df8
Author: Yuriy Skalko <yuriy.skalko at gmail.com>
Date: Fri Nov 27 20:00:29 2020 +0200
Cleanup included headers
---
src/frontends/qt/GuiPrefs.cpp | 2 --
src/frontends/qt/GuiWorkArea.cpp | 3 ---
src/graphics/GraphicsCache.cpp | 2 --
src/graphics/GraphicsConverter.cpp | 4 ----
src/graphics/PreviewLoader.cpp | 3 ---
src/insets/InsetInclude.cpp | 3 ---
src/insets/InsetLabel.cpp | 5 -----
src/insets/InsetNomencl.cpp | 1 -
src/insets/InsetNote.cpp | 1 -
src/insets/InsetPhantom.cpp | 1 -
src/insets/InsetPreview.cpp | 1 -
src/mathed/InsetMathHull.cpp | 1 -
12 files changed, 0 insertions(+), 27 deletions(-)
diff --git a/src/frontends/qt/GuiPrefs.cpp b/src/frontends/qt/GuiPrefs.cpp
index 79064df..f0ccb52 100644
--- a/src/frontends/qt/GuiPrefs.cpp
+++ b/src/frontends/qt/GuiPrefs.cpp
@@ -49,8 +49,6 @@
#include "support/os.h"
#include "support/Package.h"
-#include "graphics/GraphicsTypes.h"
-
#include "frontends/alert.h"
#include "frontends/Application.h"
#include "frontends/FontLoader.h"
diff --git a/src/frontends/qt/GuiWorkArea.cpp b/src/frontends/qt/GuiWorkArea.cpp
index 1c76928..8bb0bfc 100644
--- a/src/frontends/qt/GuiWorkArea.cpp
+++ b/src/frontends/qt/GuiWorkArea.cpp
@@ -40,9 +40,6 @@
#include "Undo.h"
#include "version.h"
-#include "graphics/GraphicsImage.h"
-#include "graphics/GraphicsLoader.h"
-
#include "support/convert.h"
#include "support/debug.h"
#include "support/lassert.h"
diff --git a/src/graphics/GraphicsCache.cpp b/src/graphics/GraphicsCache.cpp
index 5f89c56..bf1b3fc 100644
--- a/src/graphics/GraphicsCache.cpp
+++ b/src/graphics/GraphicsCache.cpp
@@ -13,7 +13,6 @@
#include "GraphicsCache.h"
#include "GraphicsCacheItem.h"
-#include "GraphicsImage.h"
#include "Format.h"
@@ -21,7 +20,6 @@
#include "support/debug.h"
#include "support/FileName.h"
-#include "support/filetools.h"
#include <map>
diff --git a/src/graphics/GraphicsConverter.cpp b/src/graphics/GraphicsConverter.cpp
index 6c3e48d..1461fdb 100644
--- a/src/graphics/GraphicsConverter.cpp
+++ b/src/graphics/GraphicsConverter.cpp
@@ -12,12 +12,9 @@
#include "GraphicsConverter.h"
-#include "Buffer.h"
#include "Converter.h"
#include "Format.h"
-#include "LyXRC.h"
-#include "frontends/alert.h"
#include "support/lassert.h"
#include "support/convert.h"
#include "support/debug.h"
@@ -25,7 +22,6 @@
#include "support/filetools.h"
#include "support/ForkedCalls.h"
#include "support/lstrings.h"
-#include "support/os.h"
#include "support/TempFile.h"
diff --git a/src/graphics/PreviewLoader.cpp b/src/graphics/PreviewLoader.cpp
index a7e37f3..de3f4a3 100644
--- a/src/graphics/PreviewLoader.cpp
+++ b/src/graphics/PreviewLoader.cpp
@@ -19,7 +19,6 @@
#include "Converter.h"
#include "Encoding.h"
#include "Format.h"
-#include "InsetIterator.h"
#include "LaTeXFeatures.h"
#include "LyXRC.h"
#include "output.h"
@@ -29,8 +28,6 @@
#include "frontends/Application.h" // hexName
-#include "insets/Inset.h"
-
#include "support/convert.h"
#include "support/debug.h"
#include "support/FileName.h"
diff --git a/src/insets/InsetInclude.cpp b/src/insets/InsetInclude.cpp
index bf9e1f5..60cfed2 100644
--- a/src/insets/InsetInclude.cpp
+++ b/src/insets/InsetInclude.cpp
@@ -20,7 +20,6 @@
#include "BufferView.h"
#include "Converter.h"
#include "Cursor.h"
-#include "DispatchResult.h"
#include "Encoding.h"
#include "ErrorList.h"
#include "Exporter.h"
@@ -28,10 +27,8 @@
#include "FuncRequest.h"
#include "FuncStatus.h"
#include "LaTeXFeatures.h"
-#include "LayoutFile.h"
#include "LayoutModuleList.h"
#include "LyX.h"
-#include "Lexer.h"
#include "MetricsInfo.h"
#include "output_plaintext.h"
#include "output_xhtml.h"
diff --git a/src/insets/InsetLabel.cpp b/src/insets/InsetLabel.cpp
index 73bc21f..2c0c1e5 100644
--- a/src/insets/InsetLabel.cpp
+++ b/src/insets/InsetLabel.cpp
@@ -14,16 +14,12 @@
#include "InsetRef.h"
-#include "buffer_funcs.h"
#include "Buffer.h"
#include "BufferParams.h"
-#include "BufferView.h"
#include "Cursor.h"
#include "CutAndPaste.h"
-#include "DispatchResult.h"
#include "FuncRequest.h"
#include "FuncStatus.h"
-#include "InsetIterator.h"
#include "Language.h"
#include "LyX.h"
#include "ParIterator.h"
@@ -33,7 +29,6 @@
#include "TextClass.h"
#include "TocBackend.h"
-#include "mathed/InsetMathHull.h"
#include "mathed/InsetMathRef.h"
#include "frontends/alert.h"
diff --git a/src/insets/InsetNomencl.cpp b/src/insets/InsetNomencl.cpp
index 0e04ca6..804fd12 100644
--- a/src/insets/InsetNomencl.cpp
+++ b/src/insets/InsetNomencl.cpp
@@ -22,7 +22,6 @@
#include "Encoding.h"
#include "FuncRequest.h"
#include "FuncStatus.h"
-#include "InsetIterator.h"
#include "InsetList.h"
#include "Language.h"
#include "LaTeXFeatures.h"
diff --git a/src/insets/InsetNote.cpp b/src/insets/InsetNote.cpp
index fa84c61..619a9f3 100644
--- a/src/insets/InsetNote.cpp
+++ b/src/insets/InsetNote.cpp
@@ -23,7 +23,6 @@
#include "Exporter.h"
#include "FuncRequest.h"
#include "FuncStatus.h"
-#include "InsetIterator.h"
#include "LaTeXFeatures.h"
#include "Lexer.h"
#include "LyXRC.h"
diff --git a/src/insets/InsetPhantom.cpp b/src/insets/InsetPhantom.cpp
index 24ad8e9..eac2bd0 100644
--- a/src/insets/InsetPhantom.cpp
+++ b/src/insets/InsetPhantom.cpp
@@ -21,7 +21,6 @@
#include "Exporter.h"
#include "FuncRequest.h"
#include "FuncStatus.h"
-#include "InsetIterator.h"
#include "LaTeXFeatures.h"
#include "Lexer.h"
#include "MetricsInfo.h"
diff --git a/src/insets/InsetPreview.cpp b/src/insets/InsetPreview.cpp
index ba4a69d..7fe92e8 100644
--- a/src/insets/InsetPreview.cpp
+++ b/src/insets/InsetPreview.cpp
@@ -16,7 +16,6 @@
#include "BufferView.h"
#include "Cursor.h"
#include "Dimension.h"
-#include "Lexer.h"
#include "MetricsInfo.h"
#include "OutputParams.h"
#include "RenderPreview.h"
diff --git a/src/mathed/InsetMathHull.cpp b/src/mathed/InsetMathHull.cpp
index 91b3c6d..9a91b6f 100644
--- a/src/mathed/InsetMathHull.cpp
+++ b/src/mathed/InsetMathHull.cpp
@@ -51,7 +51,6 @@
#include "insets/InsetRef.h"
#include "insets/RenderPreview.h"
-#include "graphics/GraphicsImage.h"
#include "graphics/PreviewImage.h"
#include "graphics/PreviewLoader.h"
More information about the lyx-cvs
mailing list