[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/3.5/kdelibs/khtml/dom
From: Maks Orlovich <maksim () kde ! org>
Date: 2006-01-22 14:38:00
Message-ID: 1137940680.076289.15428.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 501249 by orlovich:
Cast the proper thing, not garbage. Thanks to AndreW.
M +4 -4 dom2_events.cpp
--- branches/KDE/3.5/kdelibs/khtml/dom/dom2_events.cpp #501248:501249
@@ -543,11 +543,11 @@
text += QChar((unsigned short)virtKeyValArg);
}
- TextEventImpl* impl = static_cast<TextEventImpl*>(impl);
- impl->initTextEvent(typeArg, canBubbleArg, cancelableArg, viewArg, text);
+ TextEventImpl* tImpl = static_cast<TextEventImpl*>(impl);
+ tImpl->initTextEvent(typeArg, canBubbleArg, cancelableArg, viewArg, text);
} else {
- KeyboardEventImpl* impl = static_cast<KeyboardEventImpl*>(impl);
- impl->initKeyboardEvent(typeArg, canBubbleArg, cancelableArg, viewArg,
+ KeyboardEventImpl* kbImpl = static_cast<KeyboardEventImpl*>(impl);
+ kbImpl->initKeyboardEvent(typeArg, canBubbleArg, cancelableArg, viewArg,
keyValArg, virtKeyValArg, 0, numPadArg ?
KeyboardEventImpl::DOM_KEY_LOCATION_NUMPAD : \
KeyboardEventImpl::DOM_KEY_LOCATION_STANDARD); }
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic