diff options
Diffstat (limited to 'src/translators')
-rw-r--r-- | src/translators/htmlexporter.cpp | 4 | ||||
-rw-r--r-- | src/translators/xslthandler.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/translators/htmlexporter.cpp b/src/translators/htmlexporter.cpp index ce84d19..2db0fc4 100644 --- a/src/translators/htmlexporter.cpp +++ b/src/translators/htmlexporter.cpp @@ -535,7 +535,7 @@ TQString HTMLExporter::fileDirName() const { // how ugly is this? const xmlChar* HTMLExporter::handleLink(const xmlChar* link_) { - return reinterpret_cast<xmlChar*>(qstrdup(handleLink(TQString::fromUtf8(reinterpret_cast<const char*>(link_))).utf8())); + return reinterpret_cast<xmlChar*>(tqstrdup(handleLink(TQString::fromUtf8(reinterpret_cast<const char*>(link_))).utf8())); } TQString HTMLExporter::handleLink(const TQString& link_) { @@ -585,7 +585,7 @@ TQString HTMLExporter::handleLink(const TQString& link_) { } const xmlChar* HTMLExporter::analyzeInternalCSS(const xmlChar* str_) { - return reinterpret_cast<xmlChar*>(qstrdup(analyzeInternalCSS(TQString::fromUtf8(reinterpret_cast<const char*>(str_))).utf8())); + return reinterpret_cast<xmlChar*>(tqstrdup(analyzeInternalCSS(TQString::fromUtf8(reinterpret_cast<const char*>(str_))).utf8())); } TQString HTMLExporter::analyzeInternalCSS(const TQString& str_) { diff --git a/src/translators/xslthandler.cpp b/src/translators/xslthandler.cpp index 98f6527..0c300bb 100644 --- a/src/translators/xslthandler.cpp +++ b/src/translators/xslthandler.cpp @@ -227,8 +227,8 @@ TQString XSLTHandler::process() { TQMap<TQCString, TQCString>::ConstIterator it = m_params.constBegin(); TQMap<TQCString, TQCString>::ConstIterator end = m_params.constEnd(); for(uint i = 0; it != end; ++it) { - params[i ] = qstrdup(it.key()); - params[i+1] = qstrdup(it.data()); + params[i ] = tqstrdup(it.key()); + params[i+1] = tqstrdup(it.data()); params[i+2] = NULL; i += 2; } |