summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2011-08-16 14:44:58 +0200
committerLuboš Luňák <l.lunak@suse.cz>2011-08-18 15:33:45 +0200
commit046677539e002698425b11428488a1229fc3be20 (patch)
tree1e9dd2ecd335e435630d24edf3044b6d7f136197 /starmath
parent047a5de1fe8fdc60ffb07c68125c6d0a08353e0d (diff)
proper namespace for ooxml math stuff
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/ooxml.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/starmath/source/ooxml.cxx b/starmath/source/ooxml.cxx
index e702b4c15bb2..10b576deb281 100644
--- a/starmath/source/ooxml.cxx
+++ b/starmath/source/ooxml.cxx
@@ -81,9 +81,8 @@ bool SmOoxml::ConvertFromStarMath( ::sax_fastparser::FSHelperPtr serializer )
if( pTree == NULL )
return false;
m_pSerializer = serializer;
-// TODO check that the document includes the m namespace
m_pSerializer->startElementNS( XML_m, XML_oMath,
- FSNS( XML_xmlns, XML_m ), "http://schemas.openxmlformats.org/wordprocessingml/2006/math", FSEND );
+ FSNS( XML_xmlns, XML_m ), "http://schemas.openxmlformats.org/officeDocument/2006/math", FSEND );
HandleNodes( pTree, 0 );
m_pSerializer->endElementNS( XML_m, XML_oMath );
return true;