diff options
author | dante <dante19031999@gmail.com> | 2021-02-05 16:27:40 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-02-06 20:53:22 +0100 |
commit | 96e9870b3204eabc6bca1c92f714f80592a54102 (patch) | |
tree | bf0cdb9c3b94f924eab4ece2114ec96d3e370d87 /starmath/source/visitors.cxx | |
parent | d76b9cc0e96e06777c683ba172e04454c8893c84 (diff) |
Use multichar operators
There are no functional changes, only type change.
This patch unlocks other possibilities like:
- Syntax highlight for errors
- Visual editor for structure nodes
- Implement some mathml features
Change-Id: I76a1b62126ae5fcb6a7285b07b24e9defa63fd44
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110481
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'starmath/source/visitors.cxx')
-rw-r--r-- | starmath/source/visitors.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/visitors.cxx b/starmath/source/visitors.cxx index 8d72859c6b7b..c2926f32e062 100644 --- a/starmath/source/visitors.cxx +++ b/starmath/source/visitors.cxx @@ -2444,7 +2444,7 @@ void SmNodeToTextVisitor::Visit( SmMathSymbolNode* pNode ) Append( pNode->GetToken().aText ); return; } - sal_Unicode cChar = pNode->GetToken().cMathChar; + sal_Unicode cChar = pNode->GetToken().cMathChar[0]; Separate( ); switch(cChar){ case MS_NONE: |