sdext/source/presenter/PresenterSlideSorter.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 4c511ac7d7a006d9a62a3685f3a962bb321017bd Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Tue Aug 16 09:12:12 2022 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Tue Aug 16 17:37:14 2022 +0200 cid#1500417 Dereference after null check Change-Id: Ib186c453aafc9bc29fd5c7d82578ca4157aed31e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138345 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/sdext/source/presenter/PresenterSlideSorter.cxx b/sdext/source/presenter/PresenterSlideSorter.cxx index 441688fb8a6c..ef33a4dde634 100644 --- a/sdext/source/presenter/PresenterSlideSorter.cxx +++ b/sdext/source/presenter/PresenterSlideSorter.cxx @@ -1819,7 +1819,7 @@ void PresenterSlideSorter::CurrentSlideFrameRenderer::PaintCurrentSlideFrame ( rxCanvas, xClip, rSlideBoundingBox.X + rSlideBoundingBox.Width, - rSlideBoundingBox.Y - mpTopLeft->mnHeight); + rSlideBoundingBox.Y - mpTopRight->mnHeight); } if (mpBottomLeft) {