diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2018-10-21 22:53:31 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-10-22 10:02:04 +0200 |
commit | 5d41d9fefcdf18d431c22b7c7ce9aa56ee96016a (patch) | |
tree | 2d9c3a501e2d60fe8f94b35c8000dc4e976a1262 | |
parent | b9e4f8e1d7464858f15030ee55aa2b4a8b86e427 (diff) |
tdf#120703 (PVS): Recurring check.
V571 The '!pNumRule' condition was already verified in line 2092.
Change-Id: I2fc040e9c3053b351b99eb123285ef05f20813f5
Reviewed-on: https://gerrit.libreoffice.org/62160
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | sw/source/core/unocore/unosett.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unosett.cxx b/sw/source/core/unocore/unosett.cxx index eeb39421f96b..585881f14b5d 100644 --- a/sw/source/core/unocore/unosett.cxx +++ b/sw/source/core/unocore/unosett.cxx @@ -2091,7 +2091,7 @@ void SwXNumberingRules::setPropertyValue( const OUString& rPropertyName, const A SwNumRule* pCreatedRule = nullptr; if(!pNumRule) { - if(!pNumRule && pDocShell) + if(pDocShell) { pDocRule = new SwNumRule(*pDocShell->GetDoc()->GetOutlineNumRule()); } |