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 Dec 2, 2019
1 parent e503ced commit 826dc77
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Expand Up @@ -2696,7 +2696,7 @@ void CellMLTextViewConverter::processUnsupportedNode(const QDomNode &pDomNode,
// it is in the tmp-documentation namespace

if ( (pDomNode.parentNode() == mModelNode)
&& (pDomNode.namespaceURI() == CellMLSupport::TmpDocumentation)) {
&& (pDomNode.namespaceURI() == CellMLSupport::TmpDocumentationNamespace)) {
mDocumentationNode = pDomNode.cloneNode();
}
}
Expand Down
14 changes: 7 additions & 7 deletions src/plugins/support/CellMLSupport/src/cellmlfile.h
Expand Up @@ -50,13 +50,13 @@ static const auto CellmlRefVersion = Cellml_1_1;

//==============================================================================

static const auto Cellml_1_0_Namespace = QStringLiteral("http://www.cellml.org/cellml/1.0#");
static const auto Cellml_1_1_Namespace = QStringLiteral("http://www.cellml.org/cellml/1.1#");
static const auto TmpDocumentation = QStringLiteral("http://cellml.org/tmp-documentation");
static const auto CmetaIdNamespace = QStringLiteral("http://www.cellml.org/metadata/1.0#");
static const auto MathmlNamespace = QStringLiteral("http://www.w3.org/1998/Math/MathML");
static const auto RdfNamespace = QStringLiteral("http://www.w3.org/1999/02/22-rdf-syntax-ns#");
static const auto XlinkNamespace = QStringLiteral("http://www.w3.org/1999/xlink");
static const auto Cellml_1_0_Namespace = QStringLiteral("http://www.cellml.org/cellml/1.0#");
static const auto Cellml_1_1_Namespace = QStringLiteral("http://www.cellml.org/cellml/1.1#");
static const auto TmpDocumentationNamespace = QStringLiteral("http://cellml.org/tmp-documentation");
static const auto CmetaIdNamespace = QStringLiteral("http://www.cellml.org/metadata/1.0#");
static const auto MathmlNamespace = QStringLiteral("http://www.w3.org/1998/Math/MathML");
static const auto RdfNamespace = QStringLiteral("http://www.w3.org/1999/02/22-rdf-syntax-ns#");
static const auto XlinkNamespace = QStringLiteral("http://www.w3.org/1999/xlink");

//==============================================================================

Expand Down

0 comments on commit 826dc77

Please sign in to comment.