mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Fix compiler warnings
This commit is contained in:
parent
d2e3a201b9
commit
cfa0eea4b9
@ -754,8 +754,8 @@ class QWindowsMimeMetafile : public QWINDOWSMIME {
|
|||||||
public:
|
public:
|
||||||
QWindowsMimeMetafile() {}
|
QWindowsMimeMetafile() {}
|
||||||
|
|
||||||
bool canConvertFromMime(FORMATETC const & formatetc,
|
bool canConvertFromMime(FORMATETC const & /*formatetc*/,
|
||||||
QMimeData const * mimedata) const
|
QMimeData const * /*mimedata*/) const
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@ -769,14 +769,14 @@ public:
|
|||||||
return pDataObj->QueryGetData(&formatetc) == S_OK;
|
return pDataObj->QueryGetData(&formatetc) == S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool convertFromMime(FORMATETC const & formatetc,
|
bool convertFromMime(FORMATETC const & /*formatetc*/,
|
||||||
const QMimeData * mimedata, STGMEDIUM * pmedium) const
|
const QMimeData * /*mimedata*/, STGMEDIUM * /*pmedium*/) const
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
QVariant convertToMime(QString const & mimetype, IDataObject * pDataObj,
|
QVariant convertToMime(QString const & mimetype, IDataObject * pDataObj,
|
||||||
QVariant::Type preferredType) const
|
QVariant::Type /*preferredType*/) const
|
||||||
{
|
{
|
||||||
QByteArray data;
|
QByteArray data;
|
||||||
if (!canConvertToMime(mimetype, pDataObj))
|
if (!canConvertToMime(mimetype, pDataObj))
|
||||||
@ -807,7 +807,7 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
QVector<FORMATETC> formatsForMime(QString const & mimetype,
|
QVector<FORMATETC> formatsForMime(QString const & mimetype,
|
||||||
QMimeData const * mimedata) const
|
QMimeData const * /*mimedata*/) const
|
||||||
{
|
{
|
||||||
QVector<FORMATETC> formats;
|
QVector<FORMATETC> formats;
|
||||||
if (mimetype == emfMimeType() || mimetype == wmfMimeType())
|
if (mimetype == emfMimeType() || mimetype == wmfMimeType())
|
||||||
|
Loading…
Reference in New Issue
Block a user