diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-01-30 21:25:16 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-01-30 21:25:16 +0000 |
commit | d58d20d43ac14a835fad80a5cc7f33ea48c9aa28 (patch) | |
tree | 1bd991a1e8873b1fbdf2dcc7d64aad2accc7c8a1 /editeng/source/outliner | |
parent | 04019fc1c81b6eef54a5d38b3039a619cbef6f85 (diff) |
coverity#1267673 Dereference after null check
Change-Id: Id9d2176742e4c8f6561ba8e1ab4356852bbb2e8d
Diffstat (limited to 'editeng/source/outliner')
-rw-r--r-- | editeng/source/outliner/outliner.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/outliner/outliner.cxx b/editeng/source/outliner/outliner.cxx index 1f870bc82c4d..ba1a901d36de 100644 --- a/editeng/source/outliner/outliner.cxx +++ b/editeng/source/outliner/outliner.cxx @@ -928,7 +928,7 @@ void Outliner::PaintBullet( sal_Int32 nPara, const Point& rStartPos, bDrawBullet = rBulletState.GetValue() ? true : false; } - if ( ImplHasNumberFormat( nPara ) && bDrawBullet) + if (bDrawBullet && ImplHasNumberFormat(nPara)) { bool bVertical = IsVertical(); |