Kaydet (Commit) 02a934d0 authored tarafından Miklos Vajna's avatar Miklos Vajna

SwFrm::OnFirstPage: if there are no previous pages, we are on the first page

Change-Id: I9e3a77bfeb314eb48f2a4185b8751e370357c7e0
üst 52304f30
...@@ -1824,6 +1824,8 @@ bool SwFrm::OnFirstPage() const ...@@ -1824,6 +1824,8 @@ bool SwFrm::OnFirstPage() const
const SwPageDesc* pDesc = pPage->GetPageDesc(); const SwPageDesc* pDesc = pPage->GetPageDesc();
bRet = pPrevFrm->GetPageDesc() != pDesc && !pDesc->IsFirstShared(); bRet = pPrevFrm->GetPageDesc() != pDesc && !pDesc->IsFirstShared();
} }
else
bRet = true;
} }
return bRet; return bRet;
} }
......
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