On Tue, 2011-02-01 at 13:54 +0900, KUROSAWA, Takeshi wrote: > Hi, > > Currently "Save as Picture" feature in Writer, Impress, or Draw > produces a broken EPS file when I save an image as EPS format. > # Export feature produces a correct file. > > Here is a patch to fix this issue.
Seems reasonable, if the graphic doesn't have a metafile, i.e. is a bitmap then render the bitmap into a temporary metafile and export that instead. Thanks for this, now pushed. I did add another tweak to basically retain and use the original else branch, but this time only if the metafile returned from GetGDIMetaFile() has an ActionCount. C. _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice