summaryrefslogtreecommitdiffstats
path: root/lib/kformula/elementtype.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kformula/elementtype.cc')
-rw-r--r--lib/kformula/elementtype.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kformula/elementtype.cc b/lib/kformula/elementtype.cc
index a2e44ee6..bd2c3373 100644
--- a/lib/kformula/elementtype.cc
+++ b/lib/kformula/elementtype.cc
@@ -406,9 +406,9 @@ void AbstractOperatorType::saveMathML( SequenceElement* se, TQDomDocument& doc,
op.appendChild( doc.createTextNode( be->getCharacter() ) );
}
else {
- // tqunicode char
+ // unicode char
TQString s;
- op.appendChild( doc.createEntityReference( s.sprintf( "#x%05X", be->getCharacter().tqunicode() ) ) );
+ op.appendChild( doc.createEntityReference( s.sprintf( "#x%05X", be->getCharacter().unicode() ) ) );
}
TextElement* te = static_cast<TextElement*>( be );
TQString mathvariant = format2variant( te->getCharStyle(), te->getCharFamily() );