mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-12 09:01:16 +00:00
revert last checkin for this file to fix 24414 r=akkana,jar a=jar
This commit is contained in:
parent
a1a312c5b9
commit
eb41125f6f
@ -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;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user