diff options
author | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-07-17 21:39:07 +0400 |
---|---|---|
committer | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-07-17 23:44:14 +0400 |
commit | 44a3a345ac2b9901122a9eac70538ef04417bbd4 (patch) | |
tree | 2e0b9f03ff2f590df78b29d4c61f9310be9b43a5 /starmath | |
parent | e3b220a5ae82543ce7322ce7ab516dd3f5bdf8b0 (diff) |
fdo#38887: SmNodeToTextVisitor: use ^ and _ instead of rsup and rsub
Change-Id: I0f13eed1843412f97b84c28fa6405378227be934
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/visitors.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/starmath/source/visitors.cxx b/starmath/source/visitors.cxx index f342b3dbb73a..1269b5902df0 100644 --- a/starmath/source/visitors.cxx +++ b/starmath/source/visitors.cxx @@ -2212,13 +2212,13 @@ void SmNodeToTextVisitor::Visit( SmOperNode* pNode ) } if( ( pChild = pSubSup->GetSubSup( RSUP ) ) ) { Separate( ); - Append( "rsup { " ); + Append( "^ { " ); LineToText( pChild ); Append( "} " ); } if( ( pChild = pSubSup->GetSubSup( RSUB ) ) ) { Separate( ); - Append( "rsub { " ); + Append( "_ { " ); LineToText( pChild ); Append( "} " ); } @@ -2398,12 +2398,12 @@ void SmNodeToTextVisitor::Visit( SmSubSupNode* pNode ) } if( ( pChild = pNode->GetSubSup( RSUP ) ) ) { Separate( ); - Append( "rsup " ); + Append( "^ " ); LineToText( pChild ); } if( ( pChild = pNode->GetSubSup( RSUB ) ) ) { Separate( ); - Append( "rsub " ); + Append( "_ " ); LineToText( pChild ); } if( ( pChild = pNode->GetSubSup( CSUP ) ) ) { |