summaryrefslogtreecommitdiffstats
path: root/starmath/source/cursor.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/cursor.cxx')
-rw-r--r--starmath/source/cursor.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/starmath/source/cursor.cxx b/starmath/source/cursor.cxx
index 8ba0529bf2cf..4c91b8a2b26a 100644
--- a/starmath/source/cursor.cxx
+++ b/starmath/source/cursor.cxx
@@ -1022,7 +1022,7 @@ void SmCursor::InsertElement(SmFormulaElement element){
{
SmToken token;
token.nGroup = TGBLANK;
- token.aText.AssignAscii("~");
+ token.aText = "~";
pNewNode = new SmBlankNode(token);
}break;
case FactorialElement:
@@ -1037,7 +1037,7 @@ void SmCursor::InsertElement(SmFormulaElement element){
token.cMathChar = MS_PLUS;
token.nGroup = TGUNOPER | TGSUM;
token.nLevel = 5;
- token.aText.AssignAscii("+");
+ token.aText = "+";
pNewNode = new SmMathSymbolNode(token);
}break;
case MinusElement:
@@ -1047,7 +1047,7 @@ void SmCursor::InsertElement(SmFormulaElement element){
token.cMathChar = MS_MINUS;
token.nGroup = TGUNOPER | TGSUM;
token.nLevel = 5;
- token.aText.AssignAscii("-");
+ token.aText = "-";
pNewNode = new SmMathSymbolNode(token);
}break;
case CDotElement:
@@ -1056,7 +1056,7 @@ void SmCursor::InsertElement(SmFormulaElement element){
token.eType = TCDOT;
token.cMathChar = MS_CDOT;
token.nGroup = TGPRODUCT;
- token.aText.AssignAscii("cdot");
+ token.aText = "cdot";
pNewNode = new SmMathSymbolNode(token);
}break;
case EqualElement:
@@ -1065,7 +1065,7 @@ void SmCursor::InsertElement(SmFormulaElement element){
token.eType = TASSIGN;
token.cMathChar = MS_ASSIGN;
token.nGroup = TGRELATION;
- token.aText.AssignAscii("=");
+ token.aText = "=";
pNewNode = new SmMathSymbolNode(token);
}break;
case LessThanElement:
@@ -1074,7 +1074,7 @@ void SmCursor::InsertElement(SmFormulaElement element){
token.eType = TLT;
token.cMathChar = MS_LT;
token.nGroup = TGRELATION;
- token.aText.AssignAscii("<");
+ token.aText = "<";
pNewNode = new SmMathSymbolNode(token);
}break;
case GreaterThanElement:
@@ -1083,7 +1083,7 @@ void SmCursor::InsertElement(SmFormulaElement element){
token.eType = TGT;
token.cMathChar = MS_GT;
token.nGroup = TGRELATION;
- token.aText.AssignAscii(">");
+ token.aText = ">";
pNewNode = new SmMathSymbolNode(token);
}break;
case PercentElement:
@@ -1092,7 +1092,7 @@ void SmCursor::InsertElement(SmFormulaElement element){
token.eType = TTEXT;
token.cMathChar = MS_PERCENT;
token.nGroup = 0;
- token.aText.AssignAscii("\"%\"");
+ token.aText = "\"%\"";
pNewNode = new SmMathSymbolNode(token);
}break;
default: