summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2011-08-30 17:55:21 +0200
committerLuboš Luňák <l.lunak@suse.cz>2011-09-01 14:06:34 +0200
commit9c1da5eac9adadcac08c6397c2075c18016b0e5a (patch)
treee75f00a575e9426d00422e56d75f0a26e7c91faa /starmath
parentca2568e30a5a9154dc17bdc2efed4e2cf3027885 (diff)
enable NSPECIAL handling for math .docx export
I'm not quite sure what it does, but mathtype export has it this way and it doesn't look like it can hurt.
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/ooxml.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/starmath/source/ooxml.cxx b/starmath/source/ooxml.cxx
index e72d5589643a..1a0e35cc960a 100644
--- a/starmath/source/ooxml.cxx
+++ b/starmath/source/ooxml.cxx
@@ -125,9 +125,8 @@ void SmOoxml::HandleNode( const SmNode* pNode, int nLevel )
case NROOT:
HandleRoot( static_cast< const SmRootNode* >( pNode ), nLevel );
break;
-#if 0
case NSPECIAL:
- {
+ {
const SmTextNode* pText= static_cast< const SmTextNode* >( pNode );
//if the token str and the result text are the same then this
//is to be seen as text, else assume its a mathchar
@@ -135,9 +134,8 @@ void SmOoxml::HandleNode( const SmNode* pNode, int nLevel )
HandleText(pText,nLevel);
else
HandleMath(pText,nLevel);
- }
break;
-#endif
+ }
case NMATH:
HandleMath(pNode,nLevel);
break;