diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-29 09:17:00 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-29 09:17:47 +0200 |
commit | 0bd502af47b53bc4340df7874bd726361e3bbad9 (patch) | |
tree | 813d8fb60a4a5fe8bf4cbf316fb73621247647f3 /include/vcl/cmdevt.hxx | |
parent | make gbuild a bit more quiet by default (diff) | |
download | core-0bd502af47b53bc4340df7874bd726361e3bbad9.tar.gz core-0bd502af47b53bc4340df7874bd726361e3bbad9.zip |
Clean up remaining C-style casts among void pointers
Change-Id: I1b49c020d597b569e330482f4dbf20c15ccdae3f
Diffstat (limited to 'include/vcl/cmdevt.hxx')
-rw-r--r-- | include/vcl/cmdevt.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/cmdevt.hxx b/include/vcl/cmdevt.hxx index ad6a9dc72d25..942d45bb443a 100644 --- a/include/vcl/cmdevt.hxx +++ b/include/vcl/cmdevt.hxx @@ -439,7 +439,7 @@ inline CommandEvent::CommandEvent( const Point& rMousePos, sal_uInt16 nCmd, bool bMEvt, const void* pCmdData ) : maPos( rMousePos ) { - mpData = (void*)pCmdData; + mpData = const_cast<void*>(pCmdData); mnCommand = nCmd; mbMouseEvent = bMEvt; } |