summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-01-24 23:04:03 +0100
committerMichael Stahl <mstahl@redhat.com>2014-01-25 00:53:42 +0100
commitecf617ee0cb74526e3989500c122835c32082845 (patch)
treeddad065f3fce12933f073b63ef0effad287ac2fc
parent574773ac298153b97237b3432b601a83938eaf6b (diff)
fdo#68876: sw: layout should never care about IsFirstShared()
With 75084f6c42c27dc95418df9cefed2fddfb26000e the layout should put the "first" frame-format on every first-page of a page style; unfortunately SwFrm::OnFirstPage() was not adapted with this change and that results in various misbehaviour in the layout. Change-Id: Ia31add0d72ca581963b7e8e40c3ea932361b7fd6
-rw-r--r--sw/source/core/layout/trvlfrm.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/layout/trvlfrm.cxx b/sw/source/core/layout/trvlfrm.cxx
index afcbe7351731..ff7950711d4e 100644
--- a/sw/source/core/layout/trvlfrm.cxx
+++ b/sw/source/core/layout/trvlfrm.cxx
@@ -1782,7 +1782,7 @@ bool SwFrm::OnFirstPage() const
if (pPrevFrm)
{
const SwPageDesc* pDesc = pPage->GetPageDesc();
- bRet = pPrevFrm->GetPageDesc() != pDesc && !pDesc->IsFirstShared();
+ bRet = pPrevFrm->GetPageDesc() != pDesc;
}
else
bRet = true;