summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-12-11 16:55:55 +0100
committerMichael Stahl <mstahl@redhat.com>2015-12-15 17:44:35 +0100
commit1af4dbd827b615a10e4686486fa9034e7adf1289 (patch)
treef822e7de070866a175083a89f2ad96362c2788cb /sw/source
parent2a9f1dd27a5df97013f73e61eecf53b2348d055a (diff)
sw: extend various OOXML export test to check embedded objects
Change-Id: I272afd26addfde5065939db4a04c2f0f01aa28c8
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/filter/ww8/docxexport.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/filter/ww8/docxexport.cxx b/sw/source/filter/ww8/docxexport.cxx
index 50c49f6fb9c5..43a57ab69617 100644
--- a/sw/source/filter/ww8/docxexport.cxx
+++ b/sw/source/filter/ww8/docxexport.cxx
@@ -1458,6 +1458,7 @@ void DocxExport::WriteEmbeddings()
embeddingsList[j].Value >>= embeddingsStream;
OUString contentType = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
+ // FIXME: this .xlsm hack is silly - if anything the mime-type for an existing embedded object shoud be read from [Content_Types].xml
if (embeddingPath.endsWith(".xlsm"))
contentType = "application/vnd.ms-excel.sheet.macroEnabled.12";
else if (embeddingPath.endsWith(".bin"))