editeng/source/editeng/impedit3.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit bb748ba4a4a1ff5d653f20871a1dc51e2efdc9a7 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Wed Jul 24 08:55:54 2019 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Wed Jul 24 13:09:22 2019 +0200 cid#1451637 silence Dereference after null check Change-Id: I10ec0bbaab2bc38b67c4a2a557c33f1a4ed2ddfc Reviewed-on: https://gerrit.libreoffice.org/76223 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/editeng/source/editeng/impedit3.cxx b/editeng/source/editeng/impedit3.cxx index 99603db06493..865d6554ca60 100644 --- a/editeng/source/editeng/impedit3.cxx +++ b/editeng/source/editeng/impedit3.cxx @@ -1256,6 +1256,8 @@ bool ImpEditEngine::CreateLines( sal_Int32 nPara, sal_uInt32 nStartPosY ) aCurrentTab.bValid = false; + assert(pLine); + // this was possibly a portion too far: bool bFixedEnd = false; if ( aStatus.OneCharPerLine() ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits