mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
Fix compiler warnings
This commit is contained in:
parent
d2e3a201b9
commit
cfa0eea4b9
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user