Kaydet (Commit) 5d41d9fe authored tarafından Xisco Fauli's avatar Xisco Fauli Kaydeden (comit) Caolán McNamara

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: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst b9e4f8e1
......@@ -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());
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment