Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 920713
Collapse All | Expand All

(-)a/i18n/vtzone.cpp (-7 / +7 lines)
Lines 1735-1748 Link Here
1735
            }
1735
            }
1736
        }
1736
        }
1737
    } else {
1737
    } else {
1738
        UnicodeString icutzprop;
1738
        UVector customProps(uprv_deleteUObject, uhash_compareUnicodeString, status);
1739
        UVector customProps(nullptr, uhash_compareUnicodeString, status);
1740
        if (olsonzid.length() > 0 && icutzver.length() > 0) {
1739
        if (olsonzid.length() > 0 && icutzver.length() > 0) {
1741
            icutzprop.append(olsonzid);
1740
            LocalPointer<UnicodeString> icutzprop(new UnicodeString(ICU_TZINFO_PROP), status);
1742
            icutzprop.append(u'[');
1741
            icutzprop->append(olsonzid);
1743
            icutzprop.append(icutzver);
1742
            icutzprop->append(u'[');
1744
            icutzprop.append(u']');
1743
            icutzprop->append(icutzver);
1745
            customProps.addElement(&icutzprop, status);
1744
            icutzprop->append(u']');
1745
            customProps.adoptElement(icutzprop.orphan(), status);
1746
        }
1746
        }
1747
        writeZone(writer, *tz, &customProps, status);
1747
        writeZone(writer, *tz, &customProps, status);
1748
    }
1748
    }

Return to bug 920713