Removed clipboard code on exit of appcore

This commit is contained in:
rods%netscape.com 1999-04-16 20:39:28 +00:00
Родитель 99249e077a
Коммит 8c15a4bbc3
1 изменённых файлов: 0 добавлений и 27 удалений

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

@ -1334,33 +1334,6 @@ nsEditorAppCore::Exit()
{
nsIAppShellService* appShell = nsnull;
#ifdef NEW_CLIPBOARD_SUPPORT
nsIClipboard* clipboard;
nsresult rvv = nsServiceManager::GetService(kCClipboardCID,
kIClipboardIID,
(nsISupports **)&clipboard);
if (NS_OK == rvv) {
nsITransferable * trans = nsnull; // XXX this needs fixin
clipboard->GetData(trans);
if (nsnull != trans) {
if (PR_TRUE == trans->IsLargeDataSet()) {
// XXX A Dialog goes here to see if they want to "force" a copy
// of the data to the clipboard
//if (status == IDYES) {
// clipboard->ForceDataToClipboard();
//}
}
NS_RELEASE(trans);
}
NS_RELEASE(clipboard);
}
#endif
/*
* Create the Application Shell instance...
*/