mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
Changed special MULTI_MIME to be used by both classes
This commit is contained in:
parent
ec65a771ea
commit
7acde07d29
@ -172,7 +172,7 @@ STDMETHODIMP nsDataObjCollection::GetDataHere(LPFORMATETC pFE, LPSTGMEDIUM pSTM)
|
||||
//-----------------------------------------------------
|
||||
STDMETHODIMP nsDataObjCollection::QueryGetData(LPFORMATETC pFE)
|
||||
{
|
||||
UINT format = nsClipboard::GetFormat("multiple");
|
||||
UINT format = nsClipboard::GetFormat(MULTI_MIME);
|
||||
PRNTDEBUG("nsDataObjCollection::QueryGetData ");
|
||||
|
||||
PRNTDEBUG3("format: %d Mulitple: %d\n", pFE->cfFormat, format);
|
||||
|
@ -27,6 +27,8 @@
|
||||
class CEnumFormatEtc;
|
||||
class nsITransferable;
|
||||
|
||||
#define MULTI_MIME "Mozilla/IDataObjectCollectionFormat"
|
||||
|
||||
/*
|
||||
* This ole registered class is used to facilitate drag-drop of objects which
|
||||
* can be adapted by an object derived from CfDragDrop. The CfDragDrop is
|
||||
|
@ -30,7 +30,6 @@
|
||||
#include <OLE2.h>
|
||||
#include "OLEIDL.H"
|
||||
|
||||
static const char * MULTI_MIME = "Mozilla/IDataObjectCollectionFormat";
|
||||
|
||||
static NS_DEFINE_IID(kIDragServiceIID, NS_IDRAGSERVICE_IID);
|
||||
static NS_DEFINE_IID(kIDragSessionIID, NS_IDRAGSESSION_IID);
|
||||
|
Loading…
Reference in New Issue
Block a user