oleaut32: Constify some data.

This commit is contained in:
Dmitry Timoshkov 2006-11-10 18:56:41 +08:00 committed by Alexandre Julliard
parent 879da0436a
commit 75dd3534f9
1 changed files with 2 additions and 2 deletions

View File

@ -3271,7 +3271,7 @@ static void test_VarDateFromDec(void)
#define MKRELDATE(day,mth) st.wMonth = mth; st.wDay = day; \ #define MKRELDATE(day,mth) st.wMonth = mth; st.wDay = day; \
pSystemTimeToVariantTime(&st,&relative) pSystemTimeToVariantTime(&st,&relative)
static const char *BadDateStrings[] = static const char * const BadDateStrings[] =
{ {
"True", "False", /* Plain text */ "True", "False", /* Plain text */
"0.", ".0", "-1.1", "1.1-", /* Partial specifications */ "0.", ".0", "-1.1", "1.1-", /* Partial specifications */
@ -5736,7 +5736,7 @@ static void test_ChangeType_keep_dst(void)
{ {
VARIANT v1, v2; VARIANT v1, v2;
BSTR bstr; BSTR bstr;
WCHAR testW[] = {'t','e','s','t',0}; static const WCHAR testW[] = {'t','e','s','t',0};
HRESULT hres; HRESULT hres;
bstr = SysAllocString(testW); bstr = SysAllocString(testW);