diff options
Diffstat (limited to 'kformula')
-rw-r--r-- | kformula/fsparser.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kformula/fsparser.cc b/kformula/fsparser.cc index 77a11819..863cc9eb 100644 --- a/kformula/fsparser.cc +++ b/kformula/fsparser.cc @@ -50,20 +50,20 @@ public: //virtual void output( ostream& stream ) { stream << "PrimaryNode {" << m_primary << "}" << endl; } virtual void buildXML( TQDomDocument& doc, TQDomElement element ); virtual bool isSimple() { return true; } - void setUnicode( TQChar tqunicode ) { m_tqunicode = tqunicode; } + void setUnicode( TQChar unicode ) { m_unicode = unicode; } void setFunctionName( bool functionName ) { m_functionName = functionName; } TQString primary() const { return m_primary; } private: TQString m_primary; - TQChar m_tqunicode; + TQChar m_unicode; bool m_functionName; }; void PrimaryNode::buildXML( TQDomDocument& doc, TQDomElement element ) { - if ( m_tqunicode != TQChar::null ) { + if ( m_unicode != TQChar::null ) { TQDomElement de = doc.createElement( "TEXT" ); - de.setAttribute( "CHAR", TQString( m_tqunicode ) ); + de.setAttribute( "CHAR", TQString( m_unicode ) ); de.setAttribute( "SYMBOL", "3" ); element.appendChild( de ); } @@ -543,7 +543,7 @@ ParserNode* FormulaStringParser::parsePrimary() } case NAME: { PrimaryNode* node = new PrimaryNode( current ); - node->setUnicode( m_symbolTable.tqunicode( current ) ); + node->setUnicode( m_symbolTable.unicode( current ) ); nextToken(); if ( currentType == LP ) { nextToken(); |