summaryrefslogtreecommitdiffstats
path: root/khtml/xml/xml_tokenizer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'khtml/xml/xml_tokenizer.cpp')
-rw-r--r--khtml/xml/xml_tokenizer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/khtml/xml/xml_tokenizer.cpp b/khtml/xml/xml_tokenizer.cpp
index 37fc36f02..8f6164f51 100644
--- a/khtml/xml/xml_tokenizer.cpp
+++ b/khtml/xml/xml_tokenizer.cpp
@@ -152,11 +152,11 @@ void XMLHandler::fixUpNSURI(TQString& uri, const TQString& qname)
{
/* QXml does not resolve the namespaces of attributes in the same
tag that preceed the xmlns declaration. This fixes up that case */
- if (uri.isEmpty() && qname.tqfind(':') != -1) {
+ if (uri.isEmpty() && qname.find(':') != -1) {
TQXmlNamespaceSupport ns;
TQString localName, prefix;
ns.splitName(qname, prefix, localName);
- if (namespaceInfo.tqcontains(prefix)) {
+ if (namespaceInfo.contains(prefix)) {
uri = namespaceInfo[prefix].top();
}
}