diff options
Diffstat (limited to 'framework/source')
-rw-r--r-- | framework/source/services/tabwindowservice.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/framework/source/services/tabwindowservice.cxx b/framework/source/services/tabwindowservice.cxx index 9646de95ca84..f445406c0cdb 100644 --- a/framework/source/services/tabwindowservice.cxx +++ b/framework/source/services/tabwindowservice.cxx @@ -421,11 +421,9 @@ css::uno::Any SAL_CALL TabWindowService::impl_getPropertyValue(const OUString& / } // TabWindowService - IMPL_LINK( TabWindowService, EventListener, VclSimpleEvent*, pEvent ) { - - if ( !pEvent && !pEvent->ISA(VclWindowEvent)) + if (!pEvent || !pEvent->ISA(VclWindowEvent)) return 0; sal_uLong nEventId = pEvent->GetId(); |