diff options
Diffstat (limited to 'src/translators/xslthandler.cpp')
-rw-r--r-- | src/translators/xslthandler.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/translators/xslthandler.cpp b/src/translators/xslthandler.cpp index bdbe8f2..853f6a6 100644 --- a/src/translators/xslthandler.cpp +++ b/src/translators/xslthandler.cpp @@ -151,8 +151,8 @@ void XSLTHandler::setXSLTDoc(const TQDomDocument& dom_, const TQCString& xsltFil for(uint j = 0; j < childs.count(); ++j) { if(childs.item(j).isProcessingInstruction()) { TQDomProcessingInstruction pi = childs.item(j).toProcessingInstruction(); - if(pi.data().lower().tqcontains(TQString::tqfromLatin1("encoding"))) { - if(!pi.data().lower().tqcontains(TQString::tqfromLatin1("utf-8"))) { + if(pi.data().lower().contains(TQString::tqfromLatin1("encoding"))) { + if(!pi.data().lower().contains(TQString::tqfromLatin1("utf-8"))) { utf8 = false; // } else { // myDebug() << "XSLTHandler::setXSLTDoc() - PI = " << pi.data() << endl; @@ -188,7 +188,7 @@ void XSLTHandler::setXSLTDoc(const TQDomDocument& dom_, const TQCString& xsltFil void XSLTHandler::addStringParam(const TQCString& name_, const TQCString& value_) { TQCString value = value_; - value.tqreplace('\'', "'"); + value.replace('\'', "'"); addParam(name_, TQCString("'") + value + TQCString("'")); } |