summaryrefslogtreecommitdiff
path: root/vcl/source/window/event.cxx
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-04-10 14:12:19 +0100
committerMichael Meeks <michael.meeks@collabora.com>2015-04-10 14:13:19 +0100
commit567dbbc5e952170f20673ca795a609220aee792f (patch)
treebd1552c78782c433a1c692b308a41d9c713c0fd6 /vcl/source/window/event.cxx
parented48a8af3f84ff327a310124a348f6bbe5fa3519 (diff)
Fix NotifyEvent and IntroWindow bits.
Change-Id: Id12dbb9219a9581dd52d1f820c47f3da47b62187
Diffstat (limited to 'vcl/source/window/event.cxx')
-rw-r--r--vcl/source/window/event.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/source/window/event.cxx b/vcl/source/window/event.cxx
index 9a4f1c069b9d..9c954125779d 100644
--- a/vcl/source/window/event.cxx
+++ b/vcl/source/window/event.cxx
@@ -586,10 +586,9 @@ NotifyEvent::NotifyEvent( MouseNotifyEvent nEventType, vcl::Window* pWindow,
const void* pEvent, long nRet )
{
mpWindow = pWindow;
- mpData = (void*)pEvent;
+ mpData = const_cast<void*>(pEvent);
mnEventType = nEventType;
mnRetValue = nRet;
}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */