ICU-11102 Win32NumberFormat::format(), make fmt param const.

X-SVN-Rev: 36347
This commit is contained in:
Andy Heninger 2014-09-04 21:00:58 +00:00
parent f626431e29
commit 75c1bacdf1
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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;