Kaydet (Commit) 014dec7f authored tarafından Caolán McNamara's avatar Caolán McNamara

pvs-studio: rework expression

Change-Id: Ibcbeef3eba53df790c1860e6e4066de67bdda0bc
Reviewed-on: https://gerrit.libreoffice.org/62057
Tested-by: Jenkins
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst cdf8d7a1
......@@ -654,7 +654,7 @@ void XMLTextParagraphExport::Add( sal_uInt16 nFamily,
; // section styles have no parents
break;
}
if( (aPropStates.size() - nIgnoreProps) > 0 )
if (aPropStates.size() - nIgnoreProps)
{
GetAutoStylePool().Add( nFamily, sParent, aPropStates, bDontSeek );
if( !sCondParent.isEmpty() && sParent != sCondParent )
......@@ -848,7 +848,7 @@ OUString XMLTextParagraphExport::FindTextStyleAndHyperlink(
ppAddStates++;
}
}
if( (aPropStates.size() - nIgnoreProps) > 0 )
if (aPropStates.size() - nIgnoreProps)
{
// erase the character style, otherwise the autostyle cannot be found!
// erase the hyperlink, otherwise the autostyle cannot be found!
......
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