mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 20:35:50 +00:00
Remove const.
This commit is contained in:
parent
5c63a99182
commit
dfbfd28db5
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user