Kaydet (Commit) 60d34e1c authored tarafından Caolán McNamara's avatar Caolán McNamara Kaydeden (comit) Michael Stahl

coverity#735517 Logically dead code

its possible that this was the original intent, maybe

Change-Id: Ia7ab679b84f16ae7aab201b43eb69ce6a693c0f2
Reviewed-on: https://gerrit.libreoffice.org/12392Reviewed-by: 's avatarMichael Stahl <mstahl@redhat.com>
Tested-by: 's avatarMichael Stahl <mstahl@redhat.com>
üst a81a24b6
......@@ -473,8 +473,7 @@ void SwLayAction::InternalAction()
sal_uInt16 nPercentPageNum = 0;
while ( (pPage && !IsInterrupt()) || nCheckPageNum != USHRT_MAX )
{
if ( !pPage && nCheckPageNum != USHRT_MAX &&
(!pPage || pPage->GetPhyPageNum() >= nCheckPageNum) )
if (!pPage || (nCheckPageNum != USHRT_MAX && pPage->GetPhyPageNum() >= nCheckPageNum))
{
if ( !pPage || pPage->GetPhyPageNum() > nCheckPageNum )
{
......
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