dumb compiler things.

This commit is contained in:
pinkerton%netscape.com 1999-08-25 09:47:32 +00:00
parent 1553fbbc31
commit 7e95a7e21e
2 changed files with 2 additions and 2 deletions

View File

@ -463,7 +463,7 @@ CLSID nsDataObj::GetClassID() const
//----------------------------------------------------- //-----------------------------------------------------
// Registers a the DataFlavor/FE pair // Registers a the DataFlavor/FE pair
//----------------------------------------------------- //-----------------------------------------------------
void nsDataObj::AddDataFlavor(nsString & aDataFlavor, LPFORMATETC aFE) void nsDataObj::AddDataFlavor(const nsString & aDataFlavor, LPFORMATETC aFE)
{ {
// These two lists are the mapping to and from data flavors and FEs // These two lists are the mapping to and from data flavors and FEs
// Later, OLE will tell us it's needs a certain type of FORMATETC (text, unicode, etc) // Later, OLE will tell us it's needs a certain type of FORMATETC (text, unicode, etc)

View File

@ -60,7 +60,7 @@ class nsDataObj : public IDataObject
virtual HRESULT SetMetafilePict(FORMATETC& FE, STGMEDIUM& STM); virtual HRESULT SetMetafilePict(FORMATETC& FE, STGMEDIUM& STM);
// support for clipboard // support for clipboard
void AddDataFlavor(nsString & aDataFlavor, LPFORMATETC aFE); void AddDataFlavor(const nsString & aDataFlavor, LPFORMATETC aFE);
void SetTransferable(nsITransferable * aTransferable); void SetTransferable(nsITransferable * aTransferable);
virtual HRESULT GetText(nsString * aDF, FORMATETC& FE, STGMEDIUM& STM); virtual HRESULT GetText(nsString * aDF, FORMATETC& FE, STGMEDIUM& STM);