summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-01-14 22:40:52 +0100
committerMichael Stahl <mstahl@redhat.com>2016-01-15 13:03:08 +0100
commit80b55dcfc9754553e42625d0d6e9ebbb728200eb (patch)
tree25e34b3936cc27da5ee5358293611777c6625ef0 /sw
parent3e0bc5c7fe715ebd38bfa64a49b23df58d6d29a9 (diff)
starmath: only use WordProcessingML elements in DOCX files
Change-Id: I1b0f6d67bd0db0796756fd920ab92303a7ee7d79
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/ww8/docxattributeoutput.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx
index e8b505504532..138b8069f225 100644
--- a/sw/source/filter/ww8/docxattributeoutput.cxx
+++ b/sw/source/filter/ww8/docxattributeoutput.cxx
@@ -4544,7 +4544,8 @@ void DocxAttributeOutput::WritePostponedMath(const SwOLENode* pPostponedMath)
oox::FormulaExportBase* formulaexport = dynamic_cast<oox::FormulaExportBase*>(dynamic_cast<SfxBaseModel*>(xInterface.get()));
assert( formulaexport != nullptr );
if (formulaexport)
- formulaexport->writeFormulaOoxml( m_pSerializer, GetExport().GetFilter().getVersion());
+ formulaexport->writeFormulaOoxml( m_pSerializer, GetExport().GetFilter().getVersion(),
+ oox::drawingml::DOCUMENT_DOCX);
}
void DocxAttributeOutput::WritePostponedFormControl(const SdrObject* pObject)