From 1da4bb556efa055ecac700362f8c1a0a9ab44526 Mon Sep 17 00:00:00 2001 From: "waterson%netscape.com" Date: Wed, 11 Nov 1998 20:06:58 +0000 Subject: [PATCH] Tracked some int to PRUint32 changes in the interface, replaced nsITreeItem with nsITreeDMItem. --- rdf/src/nsRDFTreeDataModel.cpp | 10 +++++----- rdf/src/nsRDFTreeDataModel.h | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/rdf/src/nsRDFTreeDataModel.cpp b/rdf/src/nsRDFTreeDataModel.cpp index afa0ace03c7..343db99c916 100644 --- a/rdf/src/nsRDFTreeDataModel.cpp +++ b/rdf/src/nsRDFTreeDataModel.cpp @@ -58,7 +58,7 @@ nsRDFTreeDataModel::QueryInterface(const nsIID& iid, void** result) NS_IMETHODIMP -nsRDFTreeDataModel::GetVisibleColumnCount(int& count) const +nsRDFTreeDataModel::GetVisibleColumnCount(PRUint32& count) const { count = 0; for (PRInt32 i = mColumns.GetUpperBound(); i >= 0; --i) { @@ -71,7 +71,7 @@ nsRDFTreeDataModel::GetVisibleColumnCount(int& count) const NS_IMETHODIMP -nsRDFTreeDataModel::GetNthColumn(nsITreeColumn*& pColumn, int n) const +nsRDFTreeDataModel::GetNthColumn(nsITreeColumn*& pColumn, PRUint32 n) const { if (n < 0 || n > mColumns.GetUpperBound()) { PR_ASSERT(0); @@ -84,13 +84,13 @@ nsRDFTreeDataModel::GetNthColumn(nsITreeColumn*& pColumn, int n) const NS_IMETHODIMP -nsRDFTreeDataModel::GetFirstVisibleItemIndex(int& index) const +nsRDFTreeDataModel::GetFirstVisibleItemIndex(PRUint32& index) const { return NS_ERROR_NOT_IMPLEMENTED; } NS_IMETHODIMP -nsRDFTreeDataModel::GetNthTreeItem(nsITreeItem*& pItem, int n) const +nsRDFTreeDataModel::GetNthTreeItem(nsITreeDMItem*& pItem, PRUint32 n) const { return NS_ERROR_NOT_IMPLEMENTED; } @@ -98,7 +98,7 @@ nsRDFTreeDataModel::GetNthTreeItem(nsITreeItem*& pItem, int n) const NS_IMETHODIMP nsRDFTreeDataModel::GetItemTextForColumn(nsString& nodeText, - nsITreeItem* pItem, + nsITreeDMItem* pItem, nsITreeColumn* pColumn) const { return NS_ERROR_NOT_IMPLEMENTED; diff --git a/rdf/src/nsRDFTreeDataModel.h b/rdf/src/nsRDFTreeDataModel.h index e42699f4684..19e4ade2a2c 100644 --- a/rdf/src/nsRDFTreeDataModel.h +++ b/rdf/src/nsRDFTreeDataModel.h @@ -49,12 +49,12 @@ public: // nsITreeDataModel interface // Column APIs - NS_IMETHOD GetVisibleColumnCount(int& count) const; - NS_IMETHOD GetNthColumn(nsITreeColumn*& pColumn, int n) const; + NS_IMETHOD GetVisibleColumnCount(PRUint32& count) const; + NS_IMETHOD GetNthColumn(nsITreeColumn*& pColumn, PRUint32 n) const; // TreeItem APIs - NS_IMETHOD GetFirstVisibleItemIndex(int& index) const; - NS_IMETHOD GetNthTreeItem(nsITreeDMItem*& pItem, int n) const; + NS_IMETHOD GetFirstVisibleItemIndex(PRUint32& index) const; + NS_IMETHOD GetNthTreeItem(nsITreeDMItem*& pItem, PRUint32 n) const; NS_IMETHOD GetItemTextForColumn(nsString& nodeText, nsITreeDMItem* pItem, nsITreeColumn* pColumn) const;