coverity#704794 Unchecked dynamic_cast
Change-Id: Idbfdfe687ac94f1e1135c8a877a7b133056a875f
This commit is contained in:
@@ -1295,6 +1295,8 @@ IMPL_LINK( SfxTabDialog, DeactivatePageHdl, TabControl *, pTabCtrl )
|
||||
SFX_APP();
|
||||
SfxTabPage *pPage = dynamic_cast<SfxTabPage*> (pTabCtrl->GetTabPage( nId ));
|
||||
DBG_ASSERT( pPage, "no active Page" );
|
||||
if (!pPage)
|
||||
return sal_False;
|
||||
#ifdef DBG_UTIL
|
||||
Data_Impl* pDataObject = Find( pImpl->aData, pTabCtrl->GetCurPageId() );
|
||||
DBG_ASSERT( pDataObject, "no Data structur for current page" );
|
||||
|
Reference in New Issue
Block a user