Skip to content

Commit

Permalink
Some minor cleaning up.
Browse files Browse the repository at this point in the history
  • Loading branch information
agarny committed Feb 3, 2020
1 parent 18c008e commit ab8b775
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/plugins/editing/CellMLTextView/src/cellmltextviewconverter.cpp
Expand Up @@ -1482,7 +1482,7 @@ QString CellMLTextViewConverter::processPieceNode(const QDomNode &pDomNode,

QString res;
QDomNodeList childNodes = pDomNode.childNodes();
QDomNode childNode = QDomNode();
QDomNode childNode;
int childElementNodeNumber = 0;
QString statement;

Expand Down Expand Up @@ -1530,7 +1530,7 @@ QString CellMLTextViewConverter::processOtherwiseNode(const QDomNode &pDomNode,

QString res;
QDomNodeList childNodes = pDomNode.childNodes();
QDomNode childNode = QDomNode();
QDomNode childNode;

for (int i = 0, iMax = childNodes.count(); i < iMax; ++i) {
childNode = childNodes.item(i);
Expand Down Expand Up @@ -1567,7 +1567,7 @@ QString CellMLTextViewConverter::processOperatorNode(const QString &pOperator,

QString res;
QDomNodeList childNodes = pDomNode.childNodes();
QDomNode childNode = QDomNode();
QDomNode childNode;
int childElementNodeNumber = 0;
MathmlNode operatorNodeType = MathmlNode::Unknown;

Expand Down Expand Up @@ -1611,7 +1611,7 @@ QString CellMLTextViewConverter::processOperatorNode(const QString &pOperator,
}
}
} else {
QDomNode leftOperandNode = QDomNode();
QDomNode leftOperandNode;
MathmlNode leftOperandNodeType = MathmlNode::Unknown;
QString leftOperand;

Expand Down Expand Up @@ -1812,7 +1812,7 @@ QString CellMLTextViewConverter::processFunctionNode(const QString &pFunction,

QString res;
QDomNodeList childNodes = pDomNode.childNodes();
QDomNode childNode = QDomNode();
QDomNode childNode;
int childElementNodeNumber = 0;
QString argument;

Expand Down Expand Up @@ -1858,7 +1858,7 @@ QString CellMLTextViewConverter::processPowerNode(const QDomNode &pDomNode,

QString res;
QDomNodeList childNodes = pDomNode.childNodes();
QDomNode childNode = QDomNode();
QDomNode childNode;
int childElementNodeNumber = 0;
QString a;

Expand Down Expand Up @@ -1920,7 +1920,7 @@ QString CellMLTextViewConverter::processRootNode(const QDomNode &pDomNode,
QString res;
QDomNodeList childNodes = pDomNode.childNodes();
int currentChildNodesCount = childNodesCount(pDomNode);
QDomNode childNode = QDomNode();
QDomNode childNode;
int childElementNodeNumber = 0;
QString b;

Expand Down Expand Up @@ -2003,7 +2003,7 @@ QString CellMLTextViewConverter::processLogNode(const QDomNode &pDomNode,
QString res;
QDomNodeList childNodes = pDomNode.childNodes();
int currentChildNodesCount = childNodesCount(pDomNode);
QDomNode childNode = QDomNode();
QDomNode childNode;
int childElementNodeNumber = 0;
QString argumentOrBase;

Expand Down Expand Up @@ -2053,7 +2053,7 @@ QString CellMLTextViewConverter::processNotNode(const QDomNode &pDomNode,

QString res;
QDomNodeList childNodes = pDomNode.childNodes();
QDomNode childNode = QDomNode();
QDomNode childNode;
int childElementNodeNumber = 0;

for (int i = 0, iMax = childNodes.count(); i < iMax; ++i) {
Expand Down Expand Up @@ -2100,7 +2100,7 @@ QString CellMLTextViewConverter::processDiffNode(const QDomNode &pDomNode,

QString res;
QDomNodeList childNodes = pDomNode.childNodes();
QDomNode childNode = QDomNode();
QDomNode childNode;
int childElementNodeNumber = 0;
QString x;

Expand Down Expand Up @@ -2159,7 +2159,7 @@ QString CellMLTextViewConverter::processChildNode(const QDomNode &pDomNode,

QString res;
QDomNodeList childNodes = pDomNode.childNodes();
QDomNode childNode = QDomNode();
QDomNode childNode;

for (int i = 0, iMax = childNodes.count(); i < iMax; ++i) {
childNode = childNodes.item(i);
Expand Down Expand Up @@ -2188,7 +2188,7 @@ QString CellMLTextViewConverter::processBvarNode(const QDomNode &pDomNode,
QString res;
QDomNodeList childNodes = pDomNode.childNodes();
int currentChildNodesCount = childNodesCount(pDomNode);
QDomNode childNode = QDomNode();
QDomNode childNode;
int childElementNodeNumber = 0;
QString a;

Expand Down

0 comments on commit ab8b775

Please sign in to comment.