diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-06-10 10:14:02 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-10 10:48:42 +0100 |
commit | 91101dc0437c68b1993e8772f31922661ef0be2a (patch) | |
tree | 4adb351899e922f205e9f7084289a07e8512c1e8 /sfx2 | |
parent | e123213f46eb1b1e278bc816a97e51f0f3a2ac86 (diff) |
coverity#441139 Explicit null dereferenced
Change-Id: I015125fca5cd3e4c1ac2407c0449fe641991f8f6
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/doc/docfile.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx index ec0ebbecaf9e..3eaf8e355415 100644 --- a/sfx2/source/doc/docfile.cxx +++ b/sfx2/source/doc/docfile.cxx @@ -2785,7 +2785,7 @@ void SfxMedium::CompleteReOpen() if ( pImp->pTempFile ) pImp->m_aName = pImp->pTempFile->GetFileName(); } - else + else if (pTmpFile) { pTmpFile->EnableKillingFile( true ); delete pTmpFile; |