summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2011-08-16 16:58:37 +0200
committerLuboš Luňák <l.lunak@suse.cz>2011-08-18 15:33:46 +0200
commitc0bcff297b9282baa6de998804e451d66e2863b7 (patch)
tree01d741965d8741ad7667bcdb22192a82b63102ee /sw
parent1ea4a6658517d27e7d5e26fc33fca9e49af6ddf7 (diff)
hack: make msoffice 2k7 be able to read ooxml formulas
It seems that it doesn't read characters unless the font is explicitly specified as "Cambria Math"
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/ww8/docxattributeoutput.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx
index f080ea9e362f..41c585a6c538 100644
--- a/sw/source/filter/ww8/docxattributeoutput.cxx
+++ b/sw/source/filter/ww8/docxattributeoutput.cxx
@@ -2319,7 +2319,7 @@ void DocxAttributeOutput::WritePostponedMath()
uno::Reference< uno::XInterface > xInterface( aObjRef->getComponent(), uno::UNO_QUERY );
if( OoxmlFormulaExportBase* formulaexport = dynamic_cast< OoxmlFormulaExportBase* >( xInterface.get()))
- formulaexport->writeFormulaOoxml( m_pSerializer );
+ formulaexport->writeFormulaOoxml( m_pSerializer, GetExport().GetFilter().getVersion());
else
OSL_FAIL( "Math OLE object cannot write out OOXML" );
m_postponedMath = NULL;