mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-03 10:33:33 +00:00
Use get() instead of ==
This commit is contained in:
parent
b05754f50e
commit
7a34491281
@ -1229,7 +1229,7 @@ XULSortServiceImpl::SortTreeChildren(nsIContent *container, PRInt32 colIndex, so
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* smart sorting (sort within separators) on name column */
|
/* smart sorting (sort within separators) on name column */
|
||||||
if (sortInfo->sortProperty == kNC_Name)
|
if (sortInfo->sortProperty.get() == kNC_Name)
|
||||||
{
|
{
|
||||||
PRUint32 startIndex=0;
|
PRUint32 startIndex=0;
|
||||||
for (loop=0; loop<numElements; loop++)
|
for (loop=0; loop<numElements; loop++)
|
||||||
|
@ -1229,7 +1229,7 @@ XULSortServiceImpl::SortTreeChildren(nsIContent *container, PRInt32 colIndex, so
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* smart sorting (sort within separators) on name column */
|
/* smart sorting (sort within separators) on name column */
|
||||||
if (sortInfo->sortProperty == kNC_Name)
|
if (sortInfo->sortProperty.get() == kNC_Name)
|
||||||
{
|
{
|
||||||
PRUint32 startIndex=0;
|
PRUint32 startIndex=0;
|
||||||
for (loop=0; loop<numElements; loop++)
|
for (loop=0; loop<numElements; loop++)
|
||||||
|
Loading…
Reference in New Issue
Block a user