summaryrefslogtreecommitdiff
path: root/vcl/source/window/winproc.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-03-02 10:43:28 +0200
committerNoel Grandin <noel@peralex.com>2015-03-19 10:45:00 +0200
commit062e40c76bcab664907737feace74f134a25c29c (patch)
tree83d8e99e62f8183bad31934cceed1c1626285b12 /vcl/source/window/winproc.cxx
parent4e6410ba0155d4c2ac539fd37f75aa72d489e206 (diff)
loplugin:constantfunction: vcl
Change-Id: I985b781a8d53190505fcb1182749cdaf5cd0f8d0
Diffstat (limited to 'vcl/source/window/winproc.cxx')
-rw-r--r--vcl/source/window/winproc.cxx7
1 files changed, 1 insertions, 6 deletions
diff --git a/vcl/source/window/winproc.cxx b/vcl/source/window/winproc.cxx
index 9ace80d321ef..c9db00486637 100644
--- a/vcl/source/window/winproc.cxx
+++ b/vcl/source/window/winproc.cxx
@@ -1997,11 +1997,6 @@ inline bool ImplHandleSalMouseButtonUp( vcl::Window* pWindow, SalMouseEvent* pEv
ImplGetMouseButtonMode( pEvent ) );
}
-static bool ImplHandleSalMouseActivate( vcl::Window* /*pWindow*/, SalMouseActivateEvent* /*pEvent*/ )
-{
- return false;
-}
-
static bool ImplHandleMenuEvent( vcl::Window* pWindow, SalMenuEvent* pEvent, sal_uInt16 nEvent )
{
// Find SystemWindow and its Menubar and let it dispatch the command
@@ -2343,7 +2338,7 @@ bool ImplWindowFrameProc( vcl::Window* pWindow, SalFrame* /*pFrame*/,
}
break;
case SALEVENT_MOUSEACTIVATE:
- nRet = ImplHandleSalMouseActivate( pWindow, (SalMouseActivateEvent*)pEvent );
+ nRet = false;
break;
case SALEVENT_KEYINPUT:
{