mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-11 16:31:09 +00:00
Fix bug 5074: Crash while switching to Word
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
This commit is contained in:
parent
c9e8849d32
commit
85f73a4271
@ -580,6 +580,7 @@ public:
|
||||
QMimeData const * mimeData) const
|
||||
{
|
||||
QVector<FORMATETC> formats;
|
||||
if (mimetype == emfMimeType() || mimetype == wmfMimeType())
|
||||
formats += cfFromMime(mimeType);
|
||||
return formats;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user