revert last checkin for this file to fix 24414 r=akkana,jar a=jar

This commit is contained in:
pavlov%netscape.com 2000-01-20 07:27:42 +00:00
parent a1a312c5b9
commit eb41125f6f

View File

@ -703,6 +703,8 @@ NS_IMETHODIMP nsClipboard::ForceDataToClipboard()
NS_IMETHODIMP
nsClipboard::HasDataMatchingFlavors(nsISupportsArray* aFlavorList, PRBool * outResult)
{
// XXX this doesn't work right. need to fix it.
#if 0
*outResult = PR_FALSE;
PRUint32 length;
aFlavorList->Count(&length);
@ -724,7 +726,13 @@ nsClipboard::HasDataMatchingFlavors(nsISupportsArray* aFlavorList, PRBool * outR
#ifdef DEBUG_CLIPBOARD
printf("nsClipboard::HasDataMatchingFlavors() called -- returning %i\n", *outResult);
#endif
#else
*outResult = PR_TRUE;
#endif
return NS_OK;
}