coverity#440811 Dereference null return value
Change-Id: Iccf2f6dd757fe8d14a2f68a0492ea898d2f95490
This commit is contained in:
@@ -1915,7 +1915,10 @@ void SfxBindings::SetDispatcher( SfxDispatcher *pDisp )
|
|||||||
|
|
||||||
void SfxBindings::ClearCache_Impl( sal_uInt16 nSlotId )
|
void SfxBindings::ClearCache_Impl( sal_uInt16 nSlotId )
|
||||||
{
|
{
|
||||||
GetStateCache(nSlotId)->ClearCache();
|
SfxStateCache* pCache = GetStateCache(nSlotId);
|
||||||
|
if (!pCache)
|
||||||
|
return
|
||||||
|
pCache->ClearCache();
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------
|
//--------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user