Pavlov beat me to this. he changed the APIS while i was editing this file
git-svn-id: svn://10.0.0.236/trunk@65984 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
7e0749e956
commit
4abdfed200
@ -170,7 +170,7 @@ nsAutoCopyService::NotifySelectionChanged(nsIDOMDocument *aDoc, nsIDOMSelection
|
||||
nsCOMPtr<nsISupports> generic(do_QueryInterface(dataWrapper));
|
||||
/* Length() is in characters, *2 gives bytes. */
|
||||
trans->SetTransferData(kXIFMime, generic, xifBuffer.Length() * 2);
|
||||
mClipboard->SetData(trans, nsnull);
|
||||
mClipboard->SetData(trans, nsnull,0);
|
||||
|
||||
#ifdef DEBUG_CLIPBOARD
|
||||
static char *reasons[] = {
|
||||
|
||||
@ -170,7 +170,7 @@ nsAutoCopyService::NotifySelectionChanged(nsIDOMDocument *aDoc, nsIDOMSelection
|
||||
nsCOMPtr<nsISupports> generic(do_QueryInterface(dataWrapper));
|
||||
/* Length() is in characters, *2 gives bytes. */
|
||||
trans->SetTransferData(kXIFMime, generic, xifBuffer.Length() * 2);
|
||||
mClipboard->SetData(trans, nsnull);
|
||||
mClipboard->SetData(trans, nsnull,0);
|
||||
|
||||
#ifdef DEBUG_CLIPBOARD
|
||||
static char *reasons[] = {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user