diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-17 20:23:19 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-18 00:37:48 +0100 |
commit | 837a1856ef64fda2e0b7253f08189c877e1c82c7 (patch) | |
tree | 57f8340f472fdb31bb3df826d9cc90a0000228bb /vcl | |
parent | 718329232eac6bd2c1e5f46f9c49dbec289c2b86 (diff) |
Remove unused ImplCallEvent
Change-Id: I18ef9f11adce64be7ce93b077d1703ab505918a6
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/inc/svdata.hxx | 1 | ||||
-rw-r--r-- | vcl/source/window/winproc.cxx | 42 |
2 files changed, 0 insertions, 43 deletions
diff --git a/vcl/inc/svdata.hxx b/vcl/inc/svdata.hxx index 5a8dfb6541d7..7b500e76ad91 100644 --- a/vcl/inc/svdata.hxx +++ b/vcl/inc/svdata.hxx @@ -358,7 +358,6 @@ void ImplFreeHotKeyData(); void ImplFreeEventHookData(); long ImplCallPreNotify( NotifyEvent& rEvt ); -long ImplCallEvent( NotifyEvent& rEvt ); extern VCL_PLUGIN_PUBLIC ImplSVData* pImplSVData; inline VCL_PLUGIN_PUBLIC ImplSVData* ImplGetSVData() { return pImplSVData; } diff --git a/vcl/source/window/winproc.cxx b/vcl/source/window/winproc.cxx index 90d1b2c56093..dd2ae9095600 100644 --- a/vcl/source/window/winproc.cxx +++ b/vcl/source/window/winproc.cxx @@ -66,48 +66,6 @@ long ImplCallPreNotify( NotifyEvent& rEvt ) return nRet; } -// ======================================================================= - -long ImplCallEvent( NotifyEvent& rEvt ) -{ - long nRet = ImplCallPreNotify( rEvt ); - if ( !nRet ) - { - Window* pWindow = rEvt.GetWindow(); - switch ( rEvt.GetType() ) - { - case EVENT_MOUSEBUTTONDOWN: - pWindow->MouseButtonDown( *rEvt.GetMouseEvent() ); - break; - case EVENT_MOUSEBUTTONUP: - pWindow->MouseButtonUp( *rEvt.GetMouseEvent() ); - break; - case EVENT_MOUSEMOVE: - pWindow->MouseMove( *rEvt.GetMouseEvent() ); - break; - case EVENT_KEYINPUT: - pWindow->KeyInput( *rEvt.GetKeyEvent() ); - break; - case EVENT_KEYUP: - pWindow->KeyUp( *rEvt.GetKeyEvent() ); - break; - case EVENT_GETFOCUS: - pWindow->GetFocus(); - break; - case EVENT_LOSEFOCUS: - pWindow->LoseFocus(); - break; - case EVENT_COMMAND: - pWindow->Command( *rEvt.GetCommandEvent() ); - break; - } - } - - return nRet; -} - -// ======================================================================= - static sal_Bool ImplHandleMouseFloatMode( Window* pChild, const Point& rMousePos, sal_uInt16 nCode, sal_uInt16 nSVEvent, sal_Bool bMouseLeave ) |