summaryrefslogtreecommitdiff
path: root/framework/source/services/tabwindowservice.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/source/services/tabwindowservice.cxx')
-rw-r--r--framework/source/services/tabwindowservice.cxx4
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();