mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 10:00:54 +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 */
|
||||
if (sortInfo->sortProperty == kNC_Name)
|
||||
if (sortInfo->sortProperty.get() == kNC_Name)
|
||||
{
|
||||
PRUint32 startIndex=0;
|
||||
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 */
|
||||
if (sortInfo->sortProperty == kNC_Name)
|
||||
if (sortInfo->sortProperty.get() == kNC_Name)
|
||||
{
|
||||
PRUint32 startIndex=0;
|
||||
for (loop=0; loop<numElements; loop++)
|
||||
|
Loading…
Reference in New Issue
Block a user