Use native ptr [via .get()]

This commit is contained in:
rjc%netscape.com 2000-01-11 08:41:15 +00:00
parent 86f0302402
commit 898f051fc7
2 changed files with 2 additions and 2 deletions

View File

@ -1633,7 +1633,7 @@ XULSortServiceImpl::InsertContainerNode(nsIRDFCompositeDataSource *db, nsIRDFDat
container->AppendChildTo(node, aNotify);
}
if ((cacheHandle) && (sortInfo.mInner) && ((*cacheHandle) != sortInfo.mInner))
if ((cacheHandle) && (sortInfo.mInner) && ((*cacheHandle) != sortInfo.mInner.get()))
{
*cacheHandle = sortInfo.mInner;
NS_ADDREF(*cacheHandle);

View File

@ -1633,7 +1633,7 @@ XULSortServiceImpl::InsertContainerNode(nsIRDFCompositeDataSource *db, nsIRDFDat
container->AppendChildTo(node, aNotify);
}
if ((cacheHandle) && (sortInfo.mInner) && ((*cacheHandle) != sortInfo.mInner))
if ((cacheHandle) && (sortInfo.mInner) && ((*cacheHandle) != sortInfo.mInner.get()))
{
*cacheHandle = sortInfo.mInner;
NS_ADDREF(*cacheHandle);