Bug 42518. Remove bogus re-implementation of GetCurrentSession(). r=pink

git-svn-id: svn://10.0.0.236/trunk@72330 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
waterson%netscape.com 2000-06-16 00:32:17 +00:00
parent 884e996435
commit 9f0f77a822
2 changed files with 1 additions and 12 deletions

View File

@ -267,16 +267,6 @@ NS_IMETHODIMP nsDragService::IsDataFlavorSupported(const char *aDataFlavor, PRBo
}
//-------------------------------------------------------------------------
NS_IMETHODIMP nsDragService::GetCurrentSession (nsIDragSession ** aSession)
{
if ( !aSession )
return NS_ERROR_FAILURE;
*aSession = (nsIDragSession *)this;
NS_ADDREF(*aSession);
return NS_OK;
}
//
// IsCollectionObject
@ -304,4 +294,4 @@ nsDragService :: IsCollectionObject ( IDataObject* inDataObj )
return isCollection;
} // IsCollectionObject
} // IsCollectionObject

View File

@ -42,7 +42,6 @@ public:
// nsIDragService
NS_IMETHOD InvokeDragSession (nsIDOMNode *aDOMNode, nsISupportsArray * anArrayTransferables, nsIScriptableRegion * aRegion, PRUint32 aActionType);
NS_IMETHOD GetCurrentSession (nsIDragSession ** aSession);
// nsIDragSession
NS_IMETHOD GetData (nsITransferable * aTransferable, PRUint32 anItem);