diff --git a/Userland/Libraries/LibLocale/Locale.cpp b/Userland/Libraries/LibLocale/Locale.cpp index 2315c7098e..7d6ad02962 100644 --- a/Userland/Libraries/LibLocale/Locale.cpp +++ b/Userland/Libraries/LibLocale/Locale.cpp @@ -948,11 +948,6 @@ ErrorOr LanguageID::to_string() const return builder.to_string(); } -DeprecatedString LanguageID::to_deprecated_string() const -{ - return MUST(to_string()).to_deprecated_string(); -} - ErrorOr LocaleID::to_string() const { StringBuilder builder; @@ -1006,9 +1001,4 @@ ErrorOr LocaleID::to_string() const return builder.to_string(); } -DeprecatedString LocaleID::to_deprecated_string() const -{ - return MUST(to_string()).to_deprecated_string(); -} - } diff --git a/Userland/Libraries/LibLocale/Locale.h b/Userland/Libraries/LibLocale/Locale.h index be09a66a61..e238f6b699 100644 --- a/Userland/Libraries/LibLocale/Locale.h +++ b/Userland/Libraries/LibLocale/Locale.h @@ -20,7 +20,6 @@ namespace Locale { struct LanguageID { ErrorOr to_string() const; - DeprecatedString to_deprecated_string() const; bool operator==(LanguageID const&) const = default; bool is_root { false }; @@ -59,7 +58,6 @@ using Extension = AK::Variant to_string() const; - DeprecatedString to_deprecated_string() const; template Vector remove_extension_type()