coverity#1242426 Dereference after null check
Change-Id: I59c96846aa5bf4780e4c5bfb0b71242e3b928976
This commit is contained in:
@@ -296,8 +296,7 @@ bool DrawDocShell::CheckPageName (vcl::Window* pWin, OUString& rName )
|
||||
{
|
||||
aNameDlg->SetEditHelpId( HID_SD_NAMEDIALOG_PAGE );
|
||||
|
||||
if( mpViewShell )
|
||||
aNameDlg->SetCheckNameHdl( LINK( this, DrawDocShell, RenameSlideHdl ) );
|
||||
aNameDlg->SetCheckNameHdl( LINK( this, DrawDocShell, RenameSlideHdl ) );
|
||||
|
||||
rtl::Reference<FuPoor> xFunc( mpViewShell->GetCurrentFunction() );
|
||||
if( xFunc.is() )
|
||||
|
Reference in New Issue
Block a user