diff --git a/mozilla/widget/src/windows/nsDataObjCollection.cpp b/mozilla/widget/src/windows/nsDataObjCollection.cpp index 9dac9bb9580..a8d2d6e3e05 100644 --- a/mozilla/widget/src/windows/nsDataObjCollection.cpp +++ b/mozilla/widget/src/windows/nsDataObjCollection.cpp @@ -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); diff --git a/mozilla/widget/src/windows/nsDataObjCollection.h b/mozilla/widget/src/windows/nsDataObjCollection.h index 50c073022f9..233d6252903 100644 --- a/mozilla/widget/src/windows/nsDataObjCollection.h +++ b/mozilla/widget/src/windows/nsDataObjCollection.h @@ -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 diff --git a/mozilla/widget/src/windows/nsDragService.cpp b/mozilla/widget/src/windows/nsDragService.cpp index c2855c8dc2a..a09f2fbd9d7 100644 --- a/mozilla/widget/src/windows/nsDragService.cpp +++ b/mozilla/widget/src/windows/nsDragService.cpp @@ -30,7 +30,6 @@ #include #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);