diff options
Diffstat (limited to 'kopete/protocols/jabber/jingle/libjingle/talk/xmllite/xmlnsstack.cc')
-rw-r--r-- | kopete/protocols/jabber/jingle/libjingle/talk/xmllite/xmlnsstack.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kopete/protocols/jabber/jingle/libjingle/talk/xmllite/xmlnsstack.cc b/kopete/protocols/jabber/jingle/libjingle/talk/xmllite/xmlnsstack.cc index 4dcb6490..570a8be5 100644 --- a/kopete/protocols/jabber/jingle/libjingle/talk/xmllite/xmlnsstack.cc +++ b/kopete/protocols/jabber/jingle/libjingle/talk/xmllite/xmlnsstack.cc @@ -116,7 +116,7 @@ XmlnsStack::PrefixForNs(const std::string & ns, bool isattr) { } std::string -XmlnsStack::FormatQName(const QName & name, bool isAttr) { +XmlnsStack::FormatTQName(const TQName & name, bool isAttr) { std::string prefix(PrefixForNs(name.Namespace(), isAttr).first); if (prefix == STR_EMPTY) return name.LocalPart(); @@ -170,7 +170,7 @@ static std::string SuggestPrefix(const std::string & ns) { if (last - first > 4) last = first + 3; std::string candidate(AsciiLower(ns.substr(first, last - first))); - if (candidate.find("xml") != 0) + if (candidate.tqfind("xml") != 0) return candidate; break; } |