Fix compiler warnings

This commit is contained in:
Georg Baum 2016-05-08 12:25:09 +02:00 committed by Richard Heck
parent d2e3a201b9
commit cfa0eea4b9

View File

@ -754,8 +754,8 @@ class QWindowsMimeMetafile : public QWINDOWSMIME {
public:
QWindowsMimeMetafile() {}
bool canConvertFromMime(FORMATETC const & formatetc,
QMimeData const * mimedata) const
bool canConvertFromMime(FORMATETC const & /*formatetc*/,
QMimeData const * /*mimedata*/) const
{
return false;
}
@ -769,14 +769,14 @@ public:
return pDataObj->QueryGetData(&formatetc) == S_OK;
}
bool convertFromMime(FORMATETC const & formatetc,
const QMimeData * mimedata, STGMEDIUM * pmedium) const
bool convertFromMime(FORMATETC const & /*formatetc*/,
const QMimeData * /*mimedata*/, STGMEDIUM * /*pmedium*/) const
{
return false;
}
QVariant convertToMime(QString const & mimetype, IDataObject * pDataObj,
QVariant::Type preferredType) const
QVariant::Type /*preferredType*/) const
{
QByteArray data;
if (!canConvertToMime(mimetype, pDataObj))
@ -807,7 +807,7 @@ public:
QVector<FORMATETC> formatsForMime(QString const & mimetype,
QMimeData const * mimedata) const
QMimeData const * /*mimedata*/) const
{
QVector<FORMATETC> formats;
if (mimetype == emfMimeType() || mimetype == wmfMimeType())