svx/source/xml/xmlgrhlp.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
New commits: commit 4d84153e22bdda33b23deb4c32afcace4c1264f7 Author: Carlos Luque <josecarlos.ruizlu...@cib.de> Date: Thu Jul 16 11:59:37 2015 +0200 tdf#92571: add mime types for several image file formats The new mime types were added the followings: - eps -> image/x-eps - wmf -> image/x-wmf - bmp -> image/bmp - pct -> image/x-pct These new mime types are written in the attribute "media-type" of each image in the file "manifest.xml" Change-Id: I16edb625e331d3f917c6e8929df004191e317acc Reviewed-on: https://gerrit.libreoffice.org/17123 Reviewed-by: Thorsten Behrens <thorsten.behr...@cib.de> Tested-by: Thorsten Behrens <thorsten.behr...@cib.de> diff --git a/svx/source/xml/xmlgrhlp.cxx b/svx/source/xml/xmlgrhlp.cxx index a4daaac..ffb5c40 100644 --- a/svx/source/xml/xmlgrhlp.cxx +++ b/svx/source/xml/xmlgrhlp.cxx @@ -471,7 +471,11 @@ OUString SvXMLGraphicHelper::ImplGetGraphicMimeType( const OUString& rFileName ) { "png", "image/png" }, { "jpg", "image/jpeg" }, { "tif", "image/tiff" }, - { "svg", "image/svg+xml" } + { "svg", "image/svg+xml" }, + { "wmf", "image/x-wmf" }, + { "eps", "image/eps" }, + { "bmp", "image/bmp" }, + { "pct", "image/x-pict" } }; OUString aMimeType; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits