diff options
Diffstat (limited to 'src/QXmppRpcIq.cpp')
| -rw-r--r-- | src/QXmppRpcIq.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/QXmppRpcIq.cpp b/src/QXmppRpcIq.cpp index 94a7f046..a2647077 100644 --- a/src/QXmppRpcIq.cpp +++ b/src/QXmppRpcIq.cpp @@ -319,7 +319,7 @@ void QXmppRpcResponseIq::parseElementFromChild(const QDomElement &element) void QXmppRpcResponseIq::toXmlElementFromChild(QXmlStreamWriter *writer) const { writer->writeStartElement("query"); - helperToXmlAddAttribute(writer, "xmlns", ns_rpc); + writer->writeAttribute("xmlns", ns_rpc); writer->writeStartElement("methodResponse"); if (m_faultCode) @@ -421,7 +421,7 @@ void QXmppRpcInvokeIq::parseElementFromChild(const QDomElement &element) void QXmppRpcInvokeIq::toXmlElementFromChild(QXmlStreamWriter *writer) const { writer->writeStartElement("query"); - helperToXmlAddAttribute(writer, "xmlns", ns_rpc); + writer->writeAttribute("xmlns", ns_rpc); writer->writeStartElement("methodCall"); writer->writeTextElement("methodName", m_method); |
