mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 17:20:55 +00:00
branch: Fix bug 5472: Crash while switching to Word
http://bugzilla.lyx.org/show_bug.cgi?id=5472 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/branches/BRANCH_1_6_X@27739 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
ebb928d7ce
commit
6c2388a9c9
@ -572,7 +572,8 @@ public:
|
||||
QMimeData const * mimeData) const
|
||||
{
|
||||
QVector<FORMATETC> formats;
|
||||
formats += cfFromMime(mimeType);
|
||||
if (mimeType== emfMimeType() || mimeType== wmfMimeType())
|
||||
formats += cfFromMime(mimeType);
|
||||
return formats;
|
||||
}
|
||||
|
||||
|
@ -127,6 +127,8 @@ What's new
|
||||
|
||||
- Fix Preferences dialog in fullscreen mode (bug 5274).
|
||||
|
||||
- Fix the registration of mimetypes (bug 5472).
|
||||
|
||||
|
||||
* DOCUMENTATION AND LOCALIZATION
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user