From 12f1321db1d4595a761e0e7bd2d620ec6bd31166 Mon Sep 17 00:00:00 2001 From: "kipp%netscape.com" Date: Tue, 12 Oct 1999 23:22:53 +0000 Subject: [PATCH] Removed silly NS_IMETHOD decls --- content/base/src/nsGenericElement.h | 4 ++-- layout/base/src/nsGenericElement.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/content/base/src/nsGenericElement.h b/content/base/src/nsGenericElement.h index 772281c896c..02dea28d678 100644 --- a/content/base/src/nsGenericElement.h +++ b/content/base/src/nsGenericElement.h @@ -151,11 +151,11 @@ public: PRUint32 aFlags, nsEventStatus& aEventStatus); - NS_IMETHOD GetContentID(PRUint32* aID) { + nsresult GetContentID(PRUint32* aID) { *aID = mContentID; return NS_OK; } - NS_IMETHOD SetContentID(PRUint32 aID) { + nsresult SetContentID(PRUint32 aID) { mContentID = aID; return NS_OK; } diff --git a/layout/base/src/nsGenericElement.h b/layout/base/src/nsGenericElement.h index 772281c896c..02dea28d678 100644 --- a/layout/base/src/nsGenericElement.h +++ b/layout/base/src/nsGenericElement.h @@ -151,11 +151,11 @@ public: PRUint32 aFlags, nsEventStatus& aEventStatus); - NS_IMETHOD GetContentID(PRUint32* aID) { + nsresult GetContentID(PRUint32* aID) { *aID = mContentID; return NS_OK; } - NS_IMETHOD SetContentID(PRUint32 aID) { + nsresult SetContentID(PRUint32 aID) { mContentID = aID; return NS_OK; }