diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-10-22 19:30:39 +0100 |
---|---|---|
committer | Michael Stahl <michael.stahl@allotropia.de> | 2022-10-24 12:06:19 +0200 |
commit | 0c4aa1157bb1b992fa5f887920194d67f52df752 (patch) | |
tree | eea624796f561c807be4e74aa8171b7408844038 /sw | |
parent | 122419be4f7bf576f7db5456b8b6b1f6f700487f (diff) |
cid#1516141 Dereference after null check
Change-Id: Id779ae022269906a17f4f7637d7f634d5d7102d2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141669
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/layout/paintfrm.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx index 2179cfbb96e3..e7cdef70f132 100644 --- a/sw/source/core/layout/paintfrm.cxx +++ b/sw/source/core/layout/paintfrm.cxx @@ -4290,7 +4290,7 @@ void SwFlyFrame::PaintSwFrame(vcl::RenderContext& rRenderContext, SwRect const& Validate(); { - SwTaggedPDFHelper tag(nullptr, nullptr, nullptr, *pShell->GetOut()); + SwTaggedPDFHelper tag(nullptr, nullptr, nullptr, rRenderContext); // first paint lines added by fly frame paint // and then unlock other lines. gProp.pSLines->PaintLines( &rRenderContext, gProp ); |