]> granicus.if.org Git - icu/commitdiff
ICU-20438 Fixes issues found during BRS configuration test task.
authorNorbert Runge <nrunge@google.com>
Thu, 28 Feb 2019 19:20:22 +0000 (11:20 -0800)
committergnrunge <41129501+gnrunge@users.noreply.github.com>
Thu, 28 Feb 2019 20:55:01 +0000 (12:55 -0800)
icu4c/source/common/characterproperties.cpp
icu4c/source/i18n/listformatter.cpp
icu4c/source/test/intltest/listformattertest.h

index ed45b7f2266a2acb2def7122f75a02561fe7aa2b..96186e6418192eb2e68073112b91538a4fdb9c94 100644 (file)
 #include "uprops.h"
 
 using icu::LocalPointer;
+#if !UCONFIG_NO_NORMALIZATION
 using icu::Normalizer2Factory;
 using icu::Normalizer2Impl;
+#endif
 using icu::UInitOnce;
 using icu::UnicodeSet;
 
index 68814211cdf70783cb7d08760192b0246c5c05d7..ab8ef14311ea6545bf004ac75a83b7b8601d045a 100644 (file)
@@ -66,6 +66,7 @@ ListFormatInternal(const ListFormatInternal &other) :
 };
 
 
+#if !UCONFIG_NO_FORMATTING
 class FormattedListData : public FormattedValueFieldPositionIteratorImpl {
 public:
     FormattedListData(UErrorCode& status) : FormattedValueFieldPositionIteratorImpl(5, status) {}
@@ -75,6 +76,7 @@ public:
 FormattedListData::~FormattedListData() = default;
 
 UPRV_FORMATTED_VALUE_SUBCLASS_AUTO_IMPL(FormattedList)
+#endif
 
 
 static Hashtable* listPatternHash = nullptr;
index f9d5a426b741ddb4423ba4edec3f752388f2604e..decd13bcf6a01a2aa85717f3b12967dfd5621ad0 100644 (file)
@@ -24,6 +24,8 @@
 #include "intltest.h"
 #include "itformat.h"
 
+#if !UCONFIG_NO_FORMATTING
+
 class ListFormatterTest : public IntlTestWithFieldPosition {
   public:
     ListFormatterTest();
@@ -125,4 +127,6 @@ class ListFormatterTest : public IntlTestWithFieldPosition {
     const UnicodeString four;
 };
 
+#endif /* #if !UCONFIG_NO_FORMATTING */
+
 #endif