Renamed GetTransferable() to GetData()

This commit is contained in:
mcafee%netscape.com 1999-03-25 23:39:03 +00:00
Родитель 8bb5990b04
Коммит 2813616d59
5 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -863,7 +863,7 @@ NS_IMETHODIMP nsEditor::Paste()
} }
if(clipboard) { if(clipboard) {
clipboard->SetTransferable(trans, nsnull); clipboard->SetData(trans, nsnull);
clipboard->GetClipboard(); clipboard->GetClipboard();
} else { } else {
printf("nsEditor::Paste(), clipboard instance is null.\n"); printf("nsEditor::Paste(), clipboard instance is null.\n");

Просмотреть файл

@ -863,7 +863,7 @@ NS_IMETHODIMP nsEditor::Paste()
} }
if(clipboard) { if(clipboard) {
clipboard->SetTransferable(trans, nsnull); clipboard->SetData(trans, nsnull);
clipboard->GetClipboard(); clipboard->GetClipboard();
} else { } else {
printf("nsEditor::Paste(), clipboard instance is null.\n"); printf("nsEditor::Paste(), clipboard instance is null.\n");

Просмотреть файл

@ -1584,7 +1584,7 @@ PresShell::DoCopy(nsISelectionMgr* aSelectionMgr)
} }
if(clipboard) { if(clipboard) {
clipboard->SetTransferable(trans, nsnull); clipboard->SetData(trans, nsnull);
clipboard->SetClipboard(); clipboard->SetClipboard();
} else { } else {
printf("PresShell::DoCopy(), clipboard instance is null.\n"); printf("PresShell::DoCopy(), clipboard instance is null.\n");

Просмотреть файл

@ -1584,7 +1584,7 @@ PresShell::DoCopy(nsISelectionMgr* aSelectionMgr)
} }
if(clipboard) { if(clipboard) {
clipboard->SetTransferable(trans, nsnull); clipboard->SetData(trans, nsnull);
clipboard->SetClipboard(); clipboard->SetClipboard();
} else { } else {
printf("PresShell::DoCopy(), clipboard instance is null.\n"); printf("PresShell::DoCopy(), clipboard instance is null.\n");

Просмотреть файл

@ -564,7 +564,7 @@ nsEditorAppCore::Exit()
if (NS_OK == rvv) { if (NS_OK == rvv) {
nsITransferable * trans; nsITransferable * trans;
clipboard->GetTransferable(&trans); clipboard->GetData(&trans);
if (nsnull != trans) { if (nsnull != trans) {
if (NS_OK == trans->IsLargeDataSet()) { if (NS_OK == trans->IsLargeDataSet()) {
// XXX A Dialog goes here to see if they want to "force" a copy // XXX A Dialog goes here to see if they want to "force" a copy