[Libreoffice-commits] core.git: vcl/source
Stephan Bergmann
sbergman at redhat.com
Tue May 6 03:47:39 PDT 2014
vcl/source/window/winproc.cxx | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
New commits:
commit a7e18f0a169f8e99c8afcb5b628446f55dad5c5c
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue May 6 12:46:25 2014 +0200
ImplSVEvent::mpLink is never null
...at least since f74efe63d9a70da723f046c1c6708b9254dfa887 "callcatcher: remove
newly unused code."
Change-Id: I2d988525e0b82c87b2bae1f669333d0849dbee49
diff --git a/vcl/source/window/winproc.cxx b/vcl/source/window/winproc.cxx
index 7ee8e79..769e1d5 100644
--- a/vcl/source/window/winproc.cxx
+++ b/vcl/source/window/winproc.cxx
@@ -1876,17 +1876,11 @@ static void ImplHandleUserEvent( ImplSVEvent* pSVEvent )
if ( pSVEvent->mpWindow )
{
pSVEvent->mpWindow->ImplRemoveDel( &(pSVEvent->maDelData) );
- if ( pSVEvent->mpLink )
- pSVEvent->mpLink->Call( pSVEvent->mpData );
- else
- pSVEvent->mpWindow->UserEvent( 0, pSVEvent->mpData );
+ pSVEvent->mpLink->Call( pSVEvent->mpData );
}
else
{
- if ( pSVEvent->mpLink )
- pSVEvent->mpLink->Call( pSVEvent->mpData );
- else
- GetpApp()->UserEvent( 0, pSVEvent->mpData );
+ pSVEvent->mpLink->Call( pSVEvent->mpData );
}
}
More information about the Libreoffice-commits
mailing list