diff options
author | Carlos Luque <josecarlos.ruizluque@cib.de> | 2015-07-16 11:59:37 +0200 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2015-07-17 15:06:09 +0000 |
commit | 4d84153e22bdda33b23deb4c32afcace4c1264f7 (patch) | |
tree | 213fc167927b45292239fc21a6ed4bc881408bb0 /svx/source/xml | |
parent | c8cd629132f5b4d879edc53911a4e4abeb8d90aa (diff) |
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.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'svx/source/xml')
-rw-r--r-- | svx/source/xml/xmlgrhlp.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/svx/source/xml/xmlgrhlp.cxx b/svx/source/xml/xmlgrhlp.cxx index a4daaac1a6c0..ffb5c408390a 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; |