]> granicus.if.org Git - icu/commitdiff
ICU-20622 Removing dead code in measfmt.cpp.
authorShane Carr <shane@unicode.org>
Tue, 18 Jun 2019 20:34:51 +0000 (13:34 -0700)
committerShane F. Carr <shane@unicode.org>
Tue, 18 Jun 2019 21:50:17 +0000 (14:50 -0700)
icu4c/source/i18n/measfmt.cpp

index beb091b4caa84cc747b2117e32f59af88f92e293..3c4d5d6f2ced472dcc953ffc644fbd611a604f16 100644 (file)
@@ -700,21 +700,6 @@ UnicodeString &MeasureFormat::formatMeasure(
     return appendTo;
 }
 
-static void appendRange(
-        const UnicodeString &src,
-        int32_t start,
-        int32_t end,
-        UnicodeString &dest) {
-    dest.append(src, start, end - start);
-}
-
-static void appendRange(
-        const UnicodeString &src,
-        int32_t end,
-        UnicodeString &dest) {
-    dest.append(src, end, src.length() - end);
-}
-
 
 // Formats numeric time duration as 5:00:47 or 3:54.
 UnicodeString &MeasureFormat::formatNumeric(