ICU-11102 Win32NumberFormat::format(), make fmt param const.
X-SVN-Rev: 36347
This commit is contained in:
parent
f626431e29
commit
75c1bacdf1
@ -1,6 +1,6 @@
|
||||
/*
|
||||
********************************************************************************
|
||||
* Copyright (C) 2005-2013, International Business Machines
|
||||
* Copyright (C) 2005-2014, International Business Machines
|
||||
* Corporation and others. All Rights Reserved.
|
||||
********************************************************************************
|
||||
*
|
||||
@ -242,7 +242,7 @@ void Win32NumberFormat::setMinimumFractionDigits(int32_t newValue)
|
||||
NumberFormat::setMinimumFractionDigits(newValue);
|
||||
}
|
||||
|
||||
UnicodeString &Win32NumberFormat::format(int32_t numDigits, UnicodeString &appendTo, wchar_t *fmt, ...) const
|
||||
UnicodeString &Win32NumberFormat::format(int32_t numDigits, UnicodeString &appendTo, const wchar_t *fmt, ...) const
|
||||
{
|
||||
wchar_t nStackBuffer[STACK_BUFFER_SIZE];
|
||||
wchar_t *nBuffer = nStackBuffer;
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
********************************************************************************
|
||||
* Copyright (C) 2005-2013, International Business Machines
|
||||
* Copyright (C) 2005-2014, International Business Machines
|
||||
* Corporation and others. All Rights Reserved.
|
||||
********************************************************************************
|
||||
*
|
||||
@ -143,7 +143,7 @@ public:
|
||||
virtual UClassID getDynamicClassID(void) const;
|
||||
|
||||
private:
|
||||
UnicodeString &format(int32_t numDigits, UnicodeString &appendTo, wchar_t *format, ...) const;
|
||||
UnicodeString &format(int32_t numDigits, UnicodeString &appendTo, const wchar_t *format, ...) const;
|
||||
|
||||
UBool fCurrency;
|
||||
Locale fLocale;
|
||||
|
Loading…
Reference in New Issue
Block a user