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

coverity#1242426 Dereference after null check

Change-Id: I59c96846aa5bf4780e4c5bfb0b71242e3b928976
üst f9a90514
...@@ -296,8 +296,7 @@ bool DrawDocShell::CheckPageName (vcl::Window* pWin, OUString& rName ) ...@@ -296,8 +296,7 @@ bool DrawDocShell::CheckPageName (vcl::Window* pWin, OUString& rName )
{ {
aNameDlg->SetEditHelpId( HID_SD_NAMEDIALOG_PAGE ); 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() ); rtl::Reference<FuPoor> xFunc( mpViewShell->GetCurrentFunction() );
if( xFunc.is() ) if( xFunc.is() )
......
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