From 4a0ac37d474eddc6dcb04a6733c1ed3dcfb8a31f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bargull?= Date: Wed, 23 Nov 2022 10:42:43 +0000 Subject: [PATCH] Bug 1792775 - Part 8: Remove no longer needed ICU draft API guards. r=platform-i18n-reviewers,jfkthame `UDAT_STANDALONE_NARROW_QUARTERS` has been promoted from draft to stable. Differential Revision: https://phabricator.services.mozilla.com/D160186 --- intl/components/src/DisplayNames.cpp | 2 -- intl/components/src/DisplayNames.h | 4 ---- 2 files changed, 6 deletions(-) diff --git a/intl/components/src/DisplayNames.cpp b/intl/components/src/DisplayNames.cpp index fae6e430d889..252969ccbbb0 100644 --- a/intl/components/src/DisplayNames.cpp +++ b/intl/components/src/DisplayNames.cpp @@ -108,10 +108,8 @@ static bool IsStandaloneMonth(UDateFormatSymbolType symbolType) { case UDAT_ZODIAC_NAMES_WIDE: case UDAT_ZODIAC_NAMES_ABBREVIATED: case UDAT_ZODIAC_NAMES_NARROW: -# ifndef U_HIDE_DRAFT_API case UDAT_NARROW_QUARTERS: case UDAT_STANDALONE_NARROW_QUARTERS: -# endif return false; } diff --git a/intl/components/src/DisplayNames.h b/intl/components/src/DisplayNames.h index 412bdb4e04a1..ae519f61ce11 100644 --- a/intl/components/src/DisplayNames.h +++ b/intl/components/src/DisplayNames.h @@ -820,11 +820,7 @@ class DisplayNames final { break; case DisplayNames::Style::Narrow: -#ifndef U_HIDE_DRAFT_API symbolType = UDAT_STANDALONE_NARROW_QUARTERS; -#else - symbolType = UDAT_STANDALONE_SHORT_QUARTERS; -#endif break; }