소스 검색

LibGfx: Remove declarations for non-existent methods

Sam Atkins 2 년 전
부모
커밋
6d5fb9eb02
3개의 변경된 파일1개의 추가작업 그리고 4개의 파일을 삭제
  1. 0 1
      Userland/Libraries/LibGfx/DDSLoader.h
  2. 1 1
      Userland/Libraries/LibGfx/Font/FontDatabase.cpp
  3. 0 2
      Userland/Libraries/LibGfx/Font/FontDatabase.h

+ 0 - 1
Userland/Libraries/LibGfx/DDSLoader.h

@@ -254,7 +254,6 @@ private:
     DDSImageDecoderPlugin(u8 const*, size_t);
     DDSImageDecoderPlugin(u8 const*, size_t);
 
 
     OwnPtr<DDSLoadingContext> m_context;
     OwnPtr<DDSLoadingContext> m_context;
-    void dump_debug();
 };
 };
 
 
 }
 }

+ 1 - 1
Userland/Libraries/LibGfx/Font/FontDatabase.cpp

@@ -130,7 +130,7 @@ void FontDatabase::load_all_fonts_from_path(DeprecatedString const& root)
         auto current_directory = path_queue.dequeue();
         auto current_directory = path_queue.dequeue();
         Core::DirIterator dir_iterator(current_directory, Core::DirIterator::SkipParentAndBaseDir);
         Core::DirIterator dir_iterator(current_directory, Core::DirIterator::SkipParentAndBaseDir);
         if (dir_iterator.has_error()) {
         if (dir_iterator.has_error()) {
-            dbgln("FontDatabase::load_fonts: {}", dir_iterator.error_string());
+            dbgln("FontDatabase::load_all_fonts_from_path: {}", dir_iterator.error_string());
             continue;
             continue;
         }
         }
         while (dir_iterator.has_next()) {
         while (dir_iterator.has_next()) {

+ 0 - 2
Userland/Libraries/LibGfx/Font/FontDatabase.h

@@ -62,8 +62,6 @@ private:
     FontDatabase();
     FontDatabase();
     ~FontDatabase() = default;
     ~FontDatabase() = default;
 
 
-    void load_fonts();
-
     RefPtr<Typeface> get_or_create_typeface(DeprecatedString const& family, DeprecatedString const& variant);
     RefPtr<Typeface> get_or_create_typeface(DeprecatedString const& family, DeprecatedString const& variant);
 
 
     struct Private;
     struct Private;