Remove const.

This commit is contained in:
rjc%netscape.com 1999-03-19 01:56:21 +00:00
parent 5c63a99182
commit dfbfd28db5
2 changed files with 2 additions and 2 deletions

View File

@ -690,7 +690,7 @@ getNodeValue(nsIContent *node1, nsIRDFResource *sortProperty, sortPtr sortInfo,
{
nsAutoString modSortProperty(sortPropertyURI);
modSortProperty += "?sort=true";
const char *sortProp = modSortProperty.ToNewCString();
char *sortProp = modSortProperty.ToNewCString();
if (sortProp)
{
nsIRDFResource *modSortRes = nsnull;

View File

@ -690,7 +690,7 @@ getNodeValue(nsIContent *node1, nsIRDFResource *sortProperty, sortPtr sortInfo,
{
nsAutoString modSortProperty(sortPropertyURI);
modSortProperty += "?sort=true";
const char *sortProp = modSortProperty.ToNewCString();
char *sortProp = modSortProperty.ToNewCString();
if (sortProp)
{
nsIRDFResource *modSortRes = nsnull;