Kaydet (Commit) f9ac8942 authored tarafından Caolán McNamara's avatar Caolán McNamara

clang scan-build: Called C++ object pointer is null, a good catch

Change-Id: I4fbb37560f7b20fd6854ba9bb8d017352be679b6
üst 06053398
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment