summaryrefslogtreecommitdiff
path: root/sw/source/core/layout/calcmove.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-11-06 09:18:32 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-11-06 09:18:32 +0000
commit705c0edcf4de6159b0744dc98b61d7c03df82ddd (patch)
tree3a69ab2de3618fea5e4acd5b79c9c5fc0bd63862 /sw/source/core/layout/calcmove.cxx
parentcf02d0a490ba3761f6599e2ef2ea8c27d4f74c4c (diff)
coverity#1338232 Explicit null dereferenced
Change-Id: I4be589325b89eac129328f98f9db7ce8c741892d
Diffstat (limited to 'sw/source/core/layout/calcmove.cxx')
-rw-r--r--sw/source/core/layout/calcmove.cxx1
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() )