diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-04-03 10:18:44 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-04-03 10:18:44 +0100 |
commit | aa434253d2c5694b074fd774752f5407b8d491d1 (patch) | |
tree | 95a99760188549c7c69ce1f9b762447be4edcf6e /idl | |
parent | f2b52c8597b51813761048f43d60d94a661ca58d (diff) |
coverity#1403731 Explicit null dereferenced
Change-Id: I6025e6d4307aa8a6e4b6338d62bc597dace0ac9e
Diffstat (limited to 'idl')
-rw-r--r-- | idl/source/objects/slot.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/idl/source/objects/slot.cxx b/idl/source/objects/slot.cxx index 27302f3c645e..ff0760d7addc 100644 --- a/idl/source/objects/slot.cxx +++ b/idl/source/objects/slot.cxx @@ -548,6 +548,7 @@ void SvMetaSlot::WriteSlot( const OString& rShellName, sal_uInt16 nCount, } } + assert(pNextSlot); rOutStm.WriteCharPtr( "&a" ).WriteOString( rShellName ).WriteCharPtr( "Slots_Impl[" ) .WriteOString( OString::number(pNextSlot->GetListPos()) ) |