http://bugzilla.lyx.org/show_bug.cgi?id=5074
In GuiApplication.cpp the function cfFromMime returns an invalid FORMATETC struct with uninitialized members when the mimeType is not emf or wmf.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27727
a592a061-630c-0410-9148-
cb99ea01b6c8
QMimeData const * mimeData) const
{
QVector<FORMATETC> formats;
- formats += cfFromMime(mimeType);
+ if (mimetype == emfMimeType() || mimetype == wmfMimeType())
+ formats += cfFromMime(mimeType);
return formats;
}