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

cid#705962 dereference before null check

Change-Id: Id31913ea90c32f869677a54d522a8bc089c7290c
üst 29e1d198
......@@ -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)
{
......
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