aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4regexpobject.cpp
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@theqtcompany.com>2014-11-11 17:27:49 +0100
committerSimon Hausmann <simon.hausmann@digia.com>2014-11-14 13:00:51 +0100
commit353402344d0bbf20bc0003324ab6e8d7f67ee90d (patch)
tree2ca98c94c37ed26cd9b94c03a92913f0bafac840 /src/qml/jsruntime/qv4regexpobject.cpp
parentafbf1f74af678af0eda76035133406aa8883408a (diff)
Replaced more usages of Returned<T> with Heap::T*
Change-Id: I451128ee71610bfeb71139c28da89a00a8209ec6 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4regexpobject.cpp')
-rw-r--r--src/qml/jsruntime/qv4regexpobject.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4regexpobject.cpp b/src/qml/jsruntime/qv4regexpobject.cpp
index a73c25c567..ce9970459c 100644
--- a/src/qml/jsruntime/qv4regexpobject.cpp
+++ b/src/qml/jsruntime/qv4regexpobject.cpp
@@ -71,7 +71,7 @@ Heap::RegExpObject::RegExpObject(InternalClass *ic)
Scope scope(ic->engine);
Scoped<QV4::RegExpObject> o(scope, this);
- o->d()->value = QV4::RegExp::create(ic->engine, QString(), false, false)->getPointer()->d();
+ o->d()->value = QV4::RegExp::create(ic->engine, QString(), false, false);
o->d()->global = false;
o->init(ic->engine);
}
@@ -139,7 +139,7 @@ Heap::RegExpObject::RegExpObject(QV4::ExecutionEngine *engine, const QRegExp &re
Scope scope(engine);
Scoped<QV4::RegExpObject> o(scope, this);
- o->d()->value = QV4::RegExp::create(engine, pattern, re.caseSensitivity() == Qt::CaseInsensitive, false)->getPointer()->d();
+ o->d()->value = QV4::RegExp::create(engine, pattern, re.caseSensitivity() == Qt::CaseInsensitive, false);
o->init(engine);
}