Kaydet (Commit) 4d15e903 authored tarafından Noel Grandin's avatar Noel Grandin

cid#736786 dereference before null check

Change-Id: I9cf201148c7cf90e95c88b7bf53e07f1ada9e229
üst 796b51a7
......@@ -1029,7 +1029,7 @@ sal_uLong ScDocument::TransferTab( ScDocument* pSrcDoc, SCTAB nSrcPos,
if ( bVbaEnabled )
{
SfxObjectShell* pSrcShell = pSrcDoc ? pSrcDoc->GetDocumentShell() : NULL;
SfxObjectShell* pSrcShell = pSrcDoc->GetDocumentShell();
if ( pSrcShell )
{
OUString aLibName("Standard");
......
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