diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-01-06 12:45:00 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-01-06 12:46:22 +0100 |
commit | 608c927c0faac0b1e143cf50ce88003a2aaea73f (patch) | |
tree | 93dd062428041f269e4e90a554055add593bee76 /starmath | |
parent | 6977d658e16d7c2042eb4ac7db20a1aaf7b3beab (diff) |
symbolic names instead of hex values for math symbols where possible
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/node.cxx | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/starmath/source/node.cxx b/starmath/source/node.cxx index d5866cd1b7dc..09d2ee8cde82 100644 --- a/starmath/source/node.cxx +++ b/starmath/source/node.cxx @@ -2824,46 +2824,46 @@ void SmAttributNode::CreateTextFromNode(String &rText) case 0xAF: // MACRON APPEND(rText,"overline "); break; - case 0x2d9: // DOT ABOVE + case MS_DOT: // DOT ABOVE APPEND(rText,"dot "); break; case 0x2dc: // SMALL TILDE APPEND(rText,"widetilde "); break; - case 0xA8: // DIAERESIS + case MS_DDOT: // DIAERESIS APPEND(rText,"ddot "); break; case 0xE082: break; case 0xE09B: - case 0x20DB: // COMBINING THREE DOTS ABOVE + case MS_DDDOT: // COMBINING THREE DOTS ABOVE APPEND(rText,"dddot "); break; - case 0x301: // COMBINING ACUTE ACCENT + case MS_ACUTE: // COMBINING ACUTE ACCENT APPEND(rText,"acute "); break; - case 0x300: // COMBINING GRAVE ACCENT + case MS_GRAVE: // COMBINING GRAVE ACCENT APPEND(rText,"grave "); break; - case 0x30C: // COMBINING CARON + case MS_CHECK: // COMBINING CARON APPEND(rText,"check "); break; - case 0x306: // COMBINING BREVE + case MS_BREVE: // COMBINING BREVE APPEND(rText,"breve "); break; - case 0x30A: // COMBINING RING ABOVE + case MS_CIRCLE: // COMBINING RING ABOVE APPEND(rText,"circle "); break; - case 0x20D7: // COMBINING RIGHT ARROW ABOVE + case MS_VEC: // COMBINING RIGHT ARROW ABOVE APPEND(rText,"vec "); break; - case 0x303: // COMBINING TILDE + case MS_TILDE: // COMBINING TILDE APPEND(rText,"tilde "); break; - case 0x302: // COMBINING CIRCUMFLEX ACCENT + case MS_HAT: // COMBINING CIRCUMFLEX ACCENT APPEND(rText,"hat "); break; - case 0x304: // COMBINING MACRON + case MS_BAR: // COMBINING MACRON APPEND(rText,"bar "); break; default: |