summaryrefslogtreecommitdiffstats
path: root/lib/kformula/formulaelement.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kformula/formulaelement.cc')
-rw-r--r--lib/kformula/formulaelement.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/kformula/formulaelement.cc b/lib/kformula/formulaelement.cc
index 19081093..946e595d 100644
--- a/lib/kformula/formulaelement.cc
+++ b/lib/kformula/formulaelement.cc
@@ -313,18 +313,18 @@ TQString FormulaElement::toLatex()
return inherited::toLatex(); //Consider $$ sorround
}
-void FormulaElement::writeMathML( TQDomDocument& doc, TQDomNode& tqparent, bool oasisFormat ) const
+void FormulaElement::writeMathML( TQDomDocument& doc, TQDomNode& parent, bool oasisFormat ) const
{
TQDomElement de;
if ( !oasisFormat ) {
de = doc.createElementNS( "http://www.w3.org/1998/Math/MathML",
"math" );
- tqparent.appendChild( de );
+ parent.appendChild( de );
}
else {
TQDomElement element = doc.createElement( "math:semantics" );
de = doc.createElement( "math:mrow" );
- tqparent.appendChild( element );
+ parent.appendChild( element );
element.appendChild( de );
}
for ( uint i = 0; i < countChildren(); ++i ) {