diff options
Diffstat (limited to 'khtml/ecma/kjs_events.cpp')
-rw-r--r-- | khtml/ecma/kjs_events.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/khtml/ecma/kjs_events.cpp b/khtml/ecma/kjs_events.cpp index 38664c1b2..a0daf19c8 100644 --- a/khtml/ecma/kjs_events.cpp +++ b/khtml/ecma/kjs_events.cpp @@ -191,7 +191,7 @@ void JSLazyEventListener::parseCode() const listener = Object();// Error creating function } else { DeclaredFunctionImp *declFunc = static_cast<DeclaredFunctionImp*>(listener.imp()); - declFunc->setName(Identifier(name)); + declFunc->setName(Identifier(static_cast<UString>(name))); if (originalNode) { |