[Libreoffice-commits] core.git: sw/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Mon Oct 22 08:02:24 UTC 2018
sw/source/core/unocore/unosett.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 5d41d9fefcdf18d431c22b7c7ce9aa56ee96016a
Author: Xisco Fauli <xiscofauli at libreoffice.org>
AuthorDate: Sun Oct 21 22:53:31 2018 +0200
Commit: Caolán McNamara <caolanm at 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 <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at 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());
}
More information about the Libreoffice-commits
mailing list