sw/source/core/unocore/unosett.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 5d41d9fefcdf18d431c22b7c7ce9aa56ee96016a Author: Xisco Fauli <xiscofa...@libreoffice.org> AuthorDate: Sun Oct 21 22:53:31 2018 +0200 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Mon Oct 22 10:02:04 2018 +0200 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 <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> 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()); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits