summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-01-14 10:50:58 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-01-14 14:06:14 +0000
commit75d2e7e5d58b42d30a2d1b054547a5852dabd2fe (patch)
treef6068104cf4dda8c67bf8aad8f12992a3e28abe4 /sw
parent8748ae646bd5347ce9b964efbb941a873a7b5e0d (diff)
GetData is a hopelessly generic name
when you want to find the uses of it Change-Id: I580c194f0fd200505d3df99089afc0872921a67b
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/docvw/edtwin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/docvw/edtwin.cxx b/sw/source/uibase/docvw/edtwin.cxx
index 5e3033bea3e4..61d1093871a1 100644
--- a/sw/source/uibase/docvw/edtwin.cxx
+++ b/sw/source/uibase/docvw/edtwin.cxx
@@ -5383,7 +5383,7 @@ void SwEditWin::Command( const CommandEvent& rCEvt )
break;
case COMMAND_MODKEYCHANGE :
{
- const CommandModKeyData* pCommandData = (const CommandModKeyData*)rCEvt.GetData();
+ const CommandModKeyData* pCommandData = static_cast<const CommandModKeyData*>(rCEvt.GetEventData());
if(pCommandData->IsMod1() && !pCommandData->IsMod2())
{
sal_uInt16 nSlot = 0;