| Index: source/common/uvectr64.cpp
|
| diff --git a/source/common/uvectr64.cpp b/source/common/uvectr64.cpp
|
| index c09ed513cd94539a66d209aebc379d67a628e04c..8af85e6dcfe0a8336931aec92884e542f7ae7c69 100644
|
| --- a/source/common/uvectr64.cpp
|
| +++ b/source/common/uvectr64.cpp
|
| @@ -1,7 +1,7 @@
|
| /*
|
| ******************************************************************************
|
| -* Copyright (C) 1999-2010, International Business Machines Corporation and *
|
| -* others. All Rights Reserved. *
|
| +* Copyright (C) 1999-2015, International Business Machines Corporation and
|
| +* others. All Rights Reserved.
|
| ******************************************************************************
|
| */
|
|
|
| @@ -114,6 +114,9 @@ void UVector64::removeAllElements(void) {
|
| }
|
|
|
| UBool UVector64::expandCapacity(int32_t minimumCapacity, UErrorCode &status) {
|
| + if (U_FAILURE(status)) {
|
| + return FALSE;
|
| + }
|
| if (minimumCapacity < 0) {
|
| status = U_ILLEGAL_ARGUMENT_ERROR;
|
| return FALSE;
|
|
|