diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-07-24 08:55:54 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-07-24 13:09:22 +0200 |
commit | bb748ba4a4a1ff5d653f20871a1dc51e2efdc9a7 (patch) | |
tree | 22623d7b3d1540c4db000cfda1f110771f7e2c2a | |
parent | 9a516a4b229f9a52c9c1f05d247cebddb1ba5c17 (diff) |
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 <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | editeng/source/editeng/impedit3.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
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() ) |