Jelajahi Sumber

LibGfx: Remove unused header includes

Brian Gianforcaro 4 tahun lalu
induk
melakukan
b0fbea848b

+ 0 - 1
Userland/Libraries/LibGfx/BMPWriter.cpp

@@ -4,7 +4,6 @@
  * SPDX-License-Identifier: BSD-2-Clause
  */
 
-#include <AK/Vector.h>
 #include <LibGfx/BMPWriter.h>
 #include <LibGfx/Bitmap.h>
 

+ 0 - 2
Userland/Libraries/LibGfx/GIFLoader.cpp

@@ -5,7 +5,6 @@
  */
 
 #include <AK/Array.h>
-#include <AK/ByteBuffer.h>
 #include <AK/Debug.h>
 #include <AK/LexicalPath.h>
 #include <AK/MappedFile.h>
@@ -14,7 +13,6 @@
 #include <AK/MemoryStream.h>
 #include <AK/NonnullOwnPtrVector.h>
 #include <LibGfx/GIFLoader.h>
-#include <stdio.h>
 #include <string.h>
 
 namespace Gfx {

+ 0 - 1
Userland/Libraries/LibGfx/ICOLoader.cpp

@@ -13,7 +13,6 @@
 #include <AK/Types.h>
 #include <LibGfx/ICOLoader.h>
 #include <LibGfx/PNGLoader.h>
-#include <stdio.h>
 #include <string.h>
 
 namespace Gfx {

+ 0 - 1
Userland/Libraries/LibGfx/PGMLoader.cpp

@@ -9,7 +9,6 @@
 #include "Streamer.h"
 #include <AK/Endian.h>
 #include <AK/LexicalPath.h>
-#include <AK/MappedFile.h>
 #include <AK/StringBuilder.h>
 #include <string.h>
 

+ 0 - 1
Userland/Libraries/LibGfx/PPMLoader.cpp

@@ -9,7 +9,6 @@
 #include "Streamer.h"
 #include <AK/Endian.h>
 #include <AK/LexicalPath.h>
-#include <AK/MappedFile.h>
 #include <AK/ScopeGuard.h>
 #include <AK/StringBuilder.h>
 #include <string.h>

+ 0 - 1
Userland/Libraries/LibGfx/TrueTypeFont/Font.cpp

@@ -10,7 +10,6 @@
 #include <AK/Utf32View.h>
 #include <AK/Utf8View.h>
 #include <LibCore/File.h>
-#include <LibGfx/FontDatabase.h>
 #include <LibGfx/TrueTypeFont/Cmap.h>
 #include <LibGfx/TrueTypeFont/Font.h>
 #include <LibGfx/TrueTypeFont/Glyf.h>