ICU-13725 Fix whitespace (tabs to spaces).
X-SVN-Rev: 41374
This commit is contained in:
parent
0f64f94ed6
commit
fd1b5db09c
@ -35,22 +35,22 @@ namespace impl {
|
||||
// for DLL-exporting an fully specified template instantiation.
|
||||
class U_I18N_API CurrencyPluralInfoWrapper {
|
||||
public:
|
||||
LocalPointer<CurrencyPluralInfo> fPtr;
|
||||
LocalPointer<CurrencyPluralInfo> fPtr;
|
||||
|
||||
CurrencyPluralInfoWrapper() = default;
|
||||
CurrencyPluralInfoWrapper() = default;
|
||||
|
||||
CurrencyPluralInfoWrapper(const CurrencyPluralInfoWrapper& other) {
|
||||
if (!other.fPtr.isNull()) {
|
||||
fPtr.adoptInstead(new CurrencyPluralInfo(*other.fPtr));
|
||||
}
|
||||
}
|
||||
CurrencyPluralInfoWrapper(const CurrencyPluralInfoWrapper& other) {
|
||||
if (!other.fPtr.isNull()) {
|
||||
fPtr.adoptInstead(new CurrencyPluralInfo(*other.fPtr));
|
||||
}
|
||||
}
|
||||
|
||||
CurrencyPluralInfoWrapper& operator=(const CurrencyPluralInfoWrapper& other) {
|
||||
if (!other.fPtr.isNull()) {
|
||||
fPtr.adoptInstead(new CurrencyPluralInfo(*other.fPtr));
|
||||
}
|
||||
return *this;
|
||||
}
|
||||
CurrencyPluralInfoWrapper& operator=(const CurrencyPluralInfoWrapper& other) {
|
||||
if (!other.fPtr.isNull()) {
|
||||
fPtr.adoptInstead(new CurrencyPluralInfo(*other.fPtr));
|
||||
}
|
||||
return *this;
|
||||
}
|
||||
};
|
||||
|
||||
/** Controls the set of rules for parsing a string from the old DecimalFormat API. */
|
||||
@ -93,7 +93,7 @@ struct U_I18N_API DecimalFormatProperties {
|
||||
public:
|
||||
NullableValue<UNumberCompactStyle> compactStyle;
|
||||
NullableValue<CurrencyUnit> currency;
|
||||
CurrencyPluralInfoWrapper currencyPluralInfo;
|
||||
CurrencyPluralInfoWrapper currencyPluralInfo;
|
||||
NullableValue<UCurrencyUsage> currencyUsage;
|
||||
bool decimalPatternMatchRequired;
|
||||
bool decimalSeparatorAlwaysShown;
|
||||
|
@ -217,7 +217,7 @@ DecNum::setTo(const uint8_t* bcd, int32_t length, int32_t scale, bool isNegative
|
||||
fData.getAlias()->bits = static_cast<uint8_t>(isNegative ? DECNEG : 0);
|
||||
uprv_decNumberSetBCD(fData, bcd, static_cast<uint32_t>(length));
|
||||
if (fContext.status != 0) {
|
||||
// Some error occured while constructing the decNumber.
|
||||
// Some error occurred while constructing the decNumber.
|
||||
status = U_INTERNAL_PROGRAM_ERROR;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user