summaryrefslogtreecommitdiffstats
path: root/tdehtml/xml/dom_elementimpl.h
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-05-07 13:45:40 -0500
committerTimothy Pearson <[email protected]>2013-05-07 13:45:40 -0500
commitecaf622512756000f3abf9687a0f3bfbadd8c75d (patch)
treeb19f895b4974d25e7e0700d268fa5ea698a35989 /tdehtml/xml/dom_elementimpl.h
parent8f812a828ad13f3bee89085af17628016456504e (diff)
downloadtdelibs-ecaf622512756000f3abf9687a0f3bfbadd8c75d.tar.gz
tdelibs-ecaf622512756000f3abf9687a0f3bfbadd8c75d.zip
Fix slot warnings when no partManager is available
This resolves the remainder of Bug 1088
Diffstat (limited to 'tdehtml/xml/dom_elementimpl.h')
-rw-r--r--tdehtml/xml/dom_elementimpl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tdehtml/xml/dom_elementimpl.h b/tdehtml/xml/dom_elementimpl.h
index e528d7e24..306c4f30b 100644
--- a/tdehtml/xml/dom_elementimpl.h
+++ b/tdehtml/xml/dom_elementimpl.h
@@ -357,11 +357,11 @@ inline bool checkQualifiedName(const DOMString &qualifiedName, const DOMString &
}
}
- if (!qualifiedName.isNull() && Element::tdehtmlMalformedQualifiedName(qualifiedName) ||
+ if (((!qualifiedName.isNull()) && Element::tdehtmlMalformedQualifiedName(qualifiedName)) ||
(colonpos >= 0 && namespaceURI.isNull()) ||
(qualifiedName.isNull() && !namespaceURI.isNull()) ||
- (colonpos == 3 && qualifiedName[0] == 'x' && qualifiedName[1] == 'm' && qualifiedName[2] == 'l' &&
- namespaceURI != "http://www.w3.org/XML/1998/namespace")) {
+ ((colonpos == 3) && (qualifiedName[0] == 'x') && (qualifiedName[1] == 'm') && (qualifiedName[2] == 'l') &&
+ (namespaceURI != "http://www.w3.org/XML/1998/namespace"))) {
if (pExceptioncode)
*pExceptioncode = DOMException::NAMESPACE_ERR;
return false;