summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2018-09-19 12:51:00 +0200
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2018-09-19 15:04:05 +0200
commit088af44063c3e2d1d0e7744a9f9bd7b37ff58a75 (patch)
tree637d2071e1e1106ed84e70da2aff53c0aab0d28a /xmloff
parent8c7e64cd3854a912ef33b5a717a9f36856925c7c (diff)
tdf#118502 Fix loading of eps images with replacement graphic
Change-Id: Iaf9c8e2ed72115e1f82d2541ae2a1d4803795a46 Reviewed-on: https://gerrit.libreoffice.org/60752 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/core/xmlmultiimagehelper.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/xmloff/source/core/xmlmultiimagehelper.cxx b/xmloff/source/core/xmlmultiimagehelper.cxx
index 474e796c9ad8..36b65fdd7449 100644
--- a/xmloff/source/core/xmlmultiimagehelper.cxx
+++ b/xmloff/source/core/xmlmultiimagehelper.cxx
@@ -74,6 +74,10 @@ namespace
{
return 1020;
}
+ if (rMimeType == "image/x-eps")
+ {
+ return 1025;
+ }
if (rMimeType == "application/pdf")
{
return 1030;