summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Timofeev <timofeev.i.s@gmail.com>2012-07-17 21:39:07 +0400
committerIvan Timofeev <timofeev.i.s@gmail.com>2012-07-17 23:44:14 +0400
commit44a3a345ac2b9901122a9eac70538ef04417bbd4 (patch)
tree2e0b9f03ff2f590df78b29d4c61f9310be9b43a5
parentmathmlimport: do not remove first and last braces (diff)
downloadcore-44a3a345ac2b9901122a9eac70538ef04417bbd4.tar.gz
core-44a3a345ac2b9901122a9eac70538ef04417bbd4.zip
fdo#38887: SmNodeToTextVisitor: use ^ and _ instead of rsup and rsub
Change-Id: I0f13eed1843412f97b84c28fa6405378227be934
-rw-r--r--starmath/source/visitors.cxx8
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 ) ) ) {