From 3771410d0f4ad836cf445495390253ab547fb0b0 Mon Sep 17 00:00:00 2001 From: "benjamin%smedbergs.us" Date: Tue, 18 Jul 2006 18:20:57 +0000 Subject: [PATCH] Port Ben's VC6 compiler bustage fixes to trunk. Original committer: brettw%gmail.com Original revision: 1.35 Original date: 2006/01/26 20:45:41 --- .../components/places/src/nsNavHistoryResult.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/toolkit/components/places/src/nsNavHistoryResult.cpp b/toolkit/components/places/src/nsNavHistoryResult.cpp index 42f9c6ceab1a..23394377bce2 100644 --- a/toolkit/components/places/src/nsNavHistoryResult.cpp +++ b/toolkit/components/places/src/nsNavHistoryResult.cpp @@ -1135,8 +1135,8 @@ nsNavHistoryContainerResultNode::RemoveChildAt(PRInt32 aIndex, PRBool nsNavHistoryContainerResultNode::CanRemoteContainersChange() { - return (mContainerType != nsINavHistoryResultNode::RESULT_TYPE_FOLDER && - mContainerType != nsINavHistoryResultNode::RESULT_TYPE_QUERY); + return (mContainerType != nsNavHistoryResultNode::RESULT_TYPE_FOLDER && + mContainerType != nsNavHistoryResultNode::RESULT_TYPE_QUERY); } @@ -1295,10 +1295,10 @@ nsNavHistoryContainerResultNode::AppendContainerNode( if (! IsTypeContainer(aContainerType) || IsTypeFolder(aContainerType) || IsTypeQuery(aContainerType)) return NS_ERROR_INVALID_ARG; // not proper container type - if (aContainerType == nsINavHistoryResultNode::RESULT_TYPE_REMOTE_CONTAINER && + if (aContainerType == nsNavHistoryResultNode::RESULT_TYPE_REMOTE_CONTAINER && aRemoteContainerType.IsEmpty()) return NS_ERROR_INVALID_ARG; // remote containers must have r.c. type - if (aContainerType != nsINavHistoryResultNode::RESULT_TYPE_REMOTE_CONTAINER && + if (aContainerType != nsNavHistoryResultNode::RESULT_TYPE_REMOTE_CONTAINER && ! aRemoteContainerType.IsEmpty()) return NS_ERROR_INVALID_ARG; // non-remote containers must NOT have r.c. type @@ -1417,7 +1417,7 @@ nsNavHistoryQueryResultNode::nsNavHistoryQueryResultNode( const nsACString& aTitle, const nsACString& aIconURI, const nsACString& aQueryURI) : nsNavHistoryContainerResultNode(aTitle, aIconURI, - nsINavHistoryResultNode::RESULT_TYPE_QUERY, + nsNavHistoryResultNode::RESULT_TYPE_QUERY, PR_TRUE, EmptyCString()), mQueryURI(aQueryURI), mHasSearchTerms(PR_FALSE), @@ -1434,7 +1434,7 @@ nsNavHistoryQueryResultNode::nsNavHistoryQueryResultNode( const nsCOMArray& aQueries, nsNavHistoryQueryOptions* aOptions) : nsNavHistoryContainerResultNode(aTitle, aIconURI, - nsINavHistoryResultNode::RESULT_TYPE_QUERY, + nsNavHistoryResultNode::RESULT_TYPE_QUERY, PR_TRUE, EmptyCString()), mQueries(aQueries), mOptions(aOptions), @@ -2308,7 +2308,7 @@ nsNavHistoryFolderResultNode::nsNavHistoryFolderResultNode( const nsACString& aTitle, nsNavHistoryQueryOptions* aOptions, PRInt64 aFolderId, const nsACString& aRemoteContainerType) : nsNavHistoryContainerResultNode(aTitle, EmptyCString(), - nsINavHistoryResultNode::RESULT_TYPE_FOLDER, + nsNavHistoryResultNode::RESULT_TYPE_FOLDER, PR_FALSE, aRemoteContainerType), mContentsValid(PR_FALSE), mOptions(aOptions),