Kaydet (Commit) 98195b6d authored tarafından Caolán McNamara's avatar Caolán McNamara Kaydeden (comit) Miklos Vajna

coverity#1338232 Explicit null dereferenced

Change-Id: I4be589325b89eac129328f98f9db7ce8c741892d
(cherry picked from commit 705c0edc)
üst 7069ef9b
...@@ -726,6 +726,7 @@ void SwPageFrm::MakeAll(vcl::RenderContext* pRenderContext) ...@@ -726,6 +726,7 @@ void SwPageFrm::MakeAll(vcl::RenderContext* pRenderContext)
pAccess = new SwBorderAttrAccess( SwFrm::GetCache(), this ); pAccess = new SwBorderAttrAccess( SwFrm::GetCache(), this );
pAttrs = pAccess->Get(); pAttrs = pAccess->Get();
} }
assert(pAttrs);
// In BrowseView, we use fixed settings // In BrowseView, we use fixed settings
SwViewShell *pSh = getRootFrm()->GetCurrShell(); SwViewShell *pSh = getRootFrm()->GetCurrShell();
if ( pSh && pSh->GetViewOptions()->getBrowseMode() ) if ( pSh && pSh->GetViewOptions()->getBrowseMode() )
......
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