diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-04-05 08:19:31 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-04-05 11:03:58 +0200 |
commit | f8869a6bb23312d4498b8862248ef3612a6c9393 (patch) | |
tree | eb3890f5092b2bc14c94820de22f4662315c20bd /sw | |
parent | 4eaa447630756f64bceba81e1a787c289c120152 (diff) |
coverity#1433793 silence Explicit null dereferenced
and
coverity#1433785 Explicit null dereferenced
Change-Id: I261dc865d58daa2488c2c3c64975a2ff9bb46b53
Reviewed-on: https://gerrit.libreoffice.org/52430
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/ww8/ww8atr.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/filter/ww8/ww8atr.cxx b/sw/source/filter/ww8/ww8atr.cxx index 8bcc97c768ed..0e285081d079 100644 --- a/sw/source/filter/ww8/ww8atr.cxx +++ b/sw/source/filter/ww8/ww8atr.cxx @@ -5054,11 +5054,13 @@ static void ParaTabStopDelAdd( WW8Export& rWrt, if( nOP < nNP ) // next tab is old { + assert(pTO); aTab.Del(*pTO, nLStypeMgn); // must be deleted nO++; } else if( nNP < nOP ) // next tab is new { + assert(pTN); aTab.Add(*pTN, nLParaMgn); // must be inserted nN++; } |