diff options
author | Noel Grandin <noel@peralex.com> | 2014-02-14 12:41:29 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-02-17 14:04:27 +0200 |
commit | 112554741039eda3fbeef3f89b22c348b3718655 (patch) | |
tree | c2e831f0c9513d136ae523b21d42d0c67b523eb9 /sw | |
parent | 29e1d1988e286e0dff39994d41f8e6bda6d81ed4 (diff) |
cid#705962 dereference before null check
Change-Id: Id31913ea90c32f869677a54d522a8bc089c7290c
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/uno/unotxdoc.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/uno/unotxdoc.cxx b/sw/source/ui/uno/unotxdoc.cxx index 9e3ca6b04ae2..f6af0861fc19 100644 --- a/sw/source/ui/uno/unotxdoc.cxx +++ b/sw/source/ui/uno/unotxdoc.cxx @@ -3046,10 +3046,10 @@ void SAL_CALL SwXTextDocument::render( { // #i96167# haggai: delete ViewOptionsAdjust here because it makes use // of the shell, which might get destroyed in lcl_DisposeView! - if (m_pRenderData && m_pRenderData->IsViewOptionAdjust()) + if (m_pRenderData->IsViewOptionAdjust()) m_pRenderData->ViewOptionAdjustStop(); - if (m_pRenderData && m_pRenderData->HasPostItData()) + if (m_pRenderData->HasPostItData()) m_pRenderData->DeletePostItData(); if (m_pHiddenViewFrame) { |