]> granicus.if.org Git - icu/commit
ICU-20602 add LocaleBuilder::copyErrorTo
authorFrank Tang <ftang@chromium.org>
Wed, 15 May 2019 23:21:23 +0000 (16:21 -0700)
committerFrank Yung-Fong Tang <41213225+FrankYFTang@users.noreply.github.com>
Thu, 23 May 2019 01:03:12 +0000 (18:03 -0700)
commitbb22fc1a276121b1c05ae902016068fe0d4cb6b9
tree10f1216e74fe048388b37adec1d8a52b1e86b97e
parentb7ffd7b6d0d5fa7b8fbd850362b7165a89c6f3c2
ICU-20602 add LocaleBuilder::copyErrorTo

Check the status after the setter and test err.

Add more check for errors.

change comments
icu4c/source/common/localebuilder.cpp
icu4c/source/common/unicode/localebuilder.h
icu4c/source/test/intltest/localebuildertest.cpp