diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-11-06 09:18:32 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-11-06 09:18:32 +0000 |
commit | 705c0edcf4de6159b0744dc98b61d7c03df82ddd (patch) | |
tree | 3a69ab2de3618fea5e4acd5b79c9c5fc0bd63862 /sw | |
parent | cf02d0a490ba3761f6599e2ef2ea8c27d4f74c4c (diff) |
coverity#1338232 Explicit null dereferenced
Change-Id: I4be589325b89eac129328f98f9db7ce8c741892d
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/layout/calcmove.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/core/layout/calcmove.cxx b/sw/source/core/layout/calcmove.cxx index ea5602e4a5af..9de4a2ff5e3c 100644 --- a/sw/source/core/layout/calcmove.cxx +++ b/sw/source/core/layout/calcmove.cxx @@ -670,6 +670,7 @@ void SwPageFrm::MakeAll(vcl::RenderContext* pRenderContext) pAccess = o3tl::make_unique<SwBorderAttrAccess>(SwFrm::GetCache(), this); pAttrs = pAccess->Get(); } + assert(pAttrs); // In BrowseView, we use fixed settings SwViewShell *pSh = getRootFrm()->GetCurrShell(); if ( pSh && pSh->GetViewOptions()->getBrowseMode() ) |