msxml3: Constify some variables.

This commit is contained in:
Andrew Talbot 2008-06-19 22:51:51 +01:00 committed by Alexandre Julliard
parent 11f5909368
commit 3aa36b53ca
2 changed files with 6 additions and 6 deletions

View File

@ -174,10 +174,10 @@ static HRESULT WINAPI dimimpl_Invoke(
static HRESULT WINAPI dimimpl_hasFeature(IXMLDOMImplementation* This, BSTR feature, BSTR version, VARIANT_BOOL *hasFeature)
{
static WCHAR bVersion[] = {'1','.','0',0};
static WCHAR bXML[] = {'X','M','L',0};
static WCHAR bDOM[] = {'D','O','M',0};
static WCHAR bMSDOM[] = {'M','S','-','D','O','M',0};
static const WCHAR bVersion[] = {'1','.','0',0};
static const WCHAR bXML[] = {'X','M','L',0};
static const WCHAR bDOM[] = {'D','O','M',0};
static const WCHAR bMSDOM[] = {'M','S','-','D','O','M',0};
BOOL bValidFeature = FALSE;
BOOL bValidVersion = FALSE;

View File

@ -201,7 +201,7 @@ static HRESULT WINAPI dom_pi_put_nodeValue(
{
dom_pi *This = impl_from_IXMLDOMProcessingInstruction( iface );
BSTR sTarget;
static WCHAR szXML[] = {'x','m','l',0};
static const WCHAR szXML[] = {'x','m','l',0};
HRESULT hr;
TRACE("%p\n", This );
@ -526,7 +526,7 @@ static HRESULT WINAPI dom_pi_put_data(
HRESULT hr = E_FAIL;
VARIANT val;
BSTR sTarget;
static WCHAR szXML[] = {'x','m','l',0};
static const WCHAR szXML[] = {'x','m','l',0};
TRACE("%p %s\n", This, debugstr_w(data) );