summaryrefslogtreecommitdiffstats
path: root/tdehtml/ecma/kjs_dom.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-26 02:32:50 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-26 17:45:23 +0900
commit9fc074fcb2225e6303bf7cec6dc4cc85d6b5edb7 (patch)
tree656280d10f1f0acceacc67bf6544ae4d19812642 /tdehtml/ecma/kjs_dom.cpp
parent4c9f3f02c0e1a9be5567649f5c97d6638033f74f (diff)
downloadtdelibs-9fc074fcb2225e6303bf7cec6dc4cc85d6b5edb7.tar.gz
tdelibs-9fc074fcb2225e6303bf7cec6dc4cc85d6b5edb7.zip
Replaced various '#define' with actual strings - part 4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 138bb80efac020c7e78871d3f05127eb37f18274)
Diffstat (limited to 'tdehtml/ecma/kjs_dom.cpp')
-rw-r--r--tdehtml/ecma/kjs_dom.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tdehtml/ecma/kjs_dom.cpp b/tdehtml/ecma/kjs_dom.cpp
index 1834c5931..1f73dd9fe 100644
--- a/tdehtml/ecma/kjs_dom.cpp
+++ b/tdehtml/ecma/kjs_dom.cpp
@@ -1093,7 +1093,7 @@ Value DOMDocumentProtoFunc::tryCall(ExecState *exec, Object &thisObj, const List
Window* active = Window::retrieveActive(exec);
// Complete the URL using the "active part" (running interpreter). We do this for the security
// check and to make sure we load exactly the same url as we have verified to be safe
- TDEHTMLPart *tdehtmlpart = ::tqqt_cast<TDEHTMLPart *>(active->part());
+ TDEHTMLPart *tdehtmlpart = ::tqt_cast<TDEHTMLPart *>(active->part());
if (tdehtmlpart) {
// Security: only allow documents to be loaded from the same host
TQString dstUrl = tdehtmlpart->htmlDocument().completeURL(s).string();
@@ -1279,7 +1279,7 @@ Value DOMDOMImplementationProtoFunc::tryCall(ExecState *exec, Object &thisObj, c
case DOMDOMImplementation::CreateDocument: { // DOM2
// Initially set the URL to document of the creator... this is so that it resides in the same
// host/domain for security checks. The URL will be updated if Document.load() is called.
- TDEHTMLPart *part = ::tqqt_cast<TDEHTMLPart*>(static_cast<KJS::ScriptInterpreter*>(exec->interpreter())->part());
+ TDEHTMLPart *part = ::tqt_cast<TDEHTMLPart*>(static_cast<KJS::ScriptInterpreter*>(exec->interpreter())->part());
if (part) {
Document doc = implementation.createDocument(args[0].toString(exec).string(),args[1].toString(exec).string(),toNode(args[2]));
KURL url = static_cast<DocumentImpl*>(part->document().handle())->URL();