diff options
author | Noel Grandin <noel@peralex.com> | 2014-02-17 11:37:23 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-02-17 14:04:34 +0200 |
commit | 4d15e903bf7d49a2bb2fa532037eb84429012a42 (patch) | |
tree | 7824ce112e7c6d529cbc305622422f4f8fdee7af | |
parent | 796b51a763d956e58e38af5643854ba3b49bc76a (diff) |
cid#736786 dereference before null check
Change-Id: I9cf201148c7cf90e95c88b7bf53e07f1ada9e229
-rw-r--r-- | sc/source/core/data/documen2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/documen2.cxx b/sc/source/core/data/documen2.cxx index e1f6ab5eeada..299799390f35 100644 --- a/sc/source/core/data/documen2.cxx +++ b/sc/source/core/data/documen2.cxx @@ -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"); |