Commit 3aa36b53 authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

msxml3: Constify some variables.

parent 11f59093
...@@ -174,10 +174,10 @@ static HRESULT WINAPI dimimpl_Invoke( ...@@ -174,10 +174,10 @@ static HRESULT WINAPI dimimpl_Invoke(
static HRESULT WINAPI dimimpl_hasFeature(IXMLDOMImplementation* This, BSTR feature, BSTR version, VARIANT_BOOL *hasFeature) static HRESULT WINAPI dimimpl_hasFeature(IXMLDOMImplementation* This, BSTR feature, BSTR version, VARIANT_BOOL *hasFeature)
{ {
static WCHAR bVersion[] = {'1','.','0',0}; static const WCHAR bVersion[] = {'1','.','0',0};
static WCHAR bXML[] = {'X','M','L',0}; static const WCHAR bXML[] = {'X','M','L',0};
static WCHAR bDOM[] = {'D','O','M',0}; static const WCHAR bDOM[] = {'D','O','M',0};
static WCHAR bMSDOM[] = {'M','S','-','D','O','M',0}; static const WCHAR bMSDOM[] = {'M','S','-','D','O','M',0};
BOOL bValidFeature = FALSE; BOOL bValidFeature = FALSE;
BOOL bValidVersion = FALSE; BOOL bValidVersion = FALSE;
......
...@@ -201,7 +201,7 @@ static HRESULT WINAPI dom_pi_put_nodeValue( ...@@ -201,7 +201,7 @@ static HRESULT WINAPI dom_pi_put_nodeValue(
{ {
dom_pi *This = impl_from_IXMLDOMProcessingInstruction( iface ); dom_pi *This = impl_from_IXMLDOMProcessingInstruction( iface );
BSTR sTarget; BSTR sTarget;
static WCHAR szXML[] = {'x','m','l',0}; static const WCHAR szXML[] = {'x','m','l',0};
HRESULT hr; HRESULT hr;
TRACE("%p\n", This ); TRACE("%p\n", This );
...@@ -526,7 +526,7 @@ static HRESULT WINAPI dom_pi_put_data( ...@@ -526,7 +526,7 @@ static HRESULT WINAPI dom_pi_put_data(
HRESULT hr = E_FAIL; HRESULT hr = E_FAIL;
VARIANT val; VARIANT val;
BSTR sTarget; 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) ); TRACE("%p %s\n", This, debugstr_w(data) );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment