diff options
author | Thomas Lange [tl] <tl@openoffice.org> | 2010-12-01 14:03:02 +0100 |
---|---|---|
committer | Thomas Lange [tl] <tl@openoffice.org> | 2010-12-01 14:03:02 +0100 |
commit | 62117e43fbbafe6a1e311e8408fccecc69ae6452 (patch) | |
tree | 4e1975447dc734d65f21e11711576ca39513d0a2 /starmath | |
parent | dfab28eb98189451a623ac3ff2b1a2c462d25d67 (diff) |
cws tl84: #i115443# MathML export problem with groups fixed
Diffstat (limited to 'starmath')
-rwxr-xr-x | starmath/source/mathmlexport.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/starmath/source/mathmlexport.cxx b/starmath/source/mathmlexport.cxx index b80a65a089c8..711ac2535a9b 100755 --- a/starmath/source/mathmlexport.cxx +++ b/starmath/source/mathmlexport.cxx @@ -795,7 +795,8 @@ void SmXMLExport::ExportExpression(const SmNode *pNode, int nLevel) SvXMLElementExport *pRow=0; ULONG nSize = pNode->GetNumSubNodes(); - if (nSize > 1) + // #i115443: nodes of type expression always need to be grouped with mrow statement + if (nSize > 1 || (pNode && pNode->GetType() == NEXPRESSION)) pRow = new SvXMLElementExport(*this, XML_NAMESPACE_MATH, XML_MROW, sal_True, sal_True); //if (nSize) |