[Libreoffice-commits] core.git: editeng/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Wed Jul 24 11:10:25 UTC 2019
editeng/source/editeng/impedit3.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit bb748ba4a4a1ff5d653f20871a1dc51e2efdc9a7
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Jul 24 08:55:54 2019 +0100
Commit: Caolán McNamara <caolanm at 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 <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at 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() )
More information about the Libreoffice-commits
mailing list