diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-05-07 13:45:40 -0500 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2013-05-08 01:41:06 +0200 |
commit | 02454576e0020f3a04c353da8d0565980ff53916 (patch) | |
tree | 16b90b508ed82a8c55daad9e3a199c3f50b90818 /khtml/xml | |
parent | 9d350bb482428492455a6e00b1af3b1819ce615a (diff) | |
download | tdelibs-02454576e0020f3a04c353da8d0565980ff53916.tar.gz tdelibs-02454576e0020f3a04c353da8d0565980ff53916.zip |
Fix slot warnings when no partManager is available
This resolves the remainder of Bug 1088
(cherry picked from commit ecaf622512756000f3abf9687a0f3bfbadd8c75d)
Diffstat (limited to 'khtml/xml')
-rw-r--r-- | khtml/xml/dom_elementimpl.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/khtml/xml/dom_elementimpl.h b/khtml/xml/dom_elementimpl.h index ee1be3e4a..81ce4c96a 100644 --- a/khtml/xml/dom_elementimpl.h +++ b/khtml/xml/dom_elementimpl.h @@ -357,11 +357,11 @@ inline bool checkQualifiedName(const DOMString &qualifiedName, const DOMString & } } - if (!qualifiedName.isNull() && Element::khtmlMalformedQualifiedName(qualifiedName) || + if (((!qualifiedName.isNull()) && Element::khtmlMalformedQualifiedName(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; |