Created attachment 114711 [details]
The attached bugdoc contains an embedded OLE object (MS Paint file). In the document, the embedded OLE object is displayed as an icon, which is EMF. The background of the bitmap should be white/transparent, but it is black in LibreOffice 4.0 and higher.
Created attachment 114712 [details]
Screenshot with LibreOffice 3.6 and 4.0
bibisected, the first bad commit is in the range of a6ac5b2a9e4298f7e187dd42eaa8a8587b1693c9..eb020150e174335a9956f5259ddced0026163373
Reproducible with LO 18.104.22.168, Win 8.1
If the attached file is opened in MSO it is also shown correctly as in LO 3.6.
I don't have an environment set up to build from that era right now, but from scanning the commits the below seems to be the only real possibility.
Adding Cc: to email@example.com
Author: Michael Meeks <firstname.lastname@example.org>
Date: Tue Oct 9 12:22:23 2012 +0100
re-base on ALv2 code. Includes (at least) relevant parts of:
Andras Timar committed a patch related to this issue.
It has been pushed to "master":
tdf#90539 special case for EMF placeholder icon of OLE object
It will be available in 5.0.0.
The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.
Migrating Whiteboard tags to Keywords: (bibisected)