diff options
author | Michael Stahl <Michael.Stahl@cib.de> | 2018-06-01 22:03:42 +0200 |
---|---|---|
committer | Michael Stahl <Michael.Stahl@cib.de> | 2018-06-08 21:51:36 +0200 |
commit | c5eb3cd3621a349393a778b228639adab3d85349 (patch) | |
tree | 0559621cc65e6e02810f9a390e8d07a6a1e5082e /sw/source/core/layout/wsfrm.cxx | |
parent | 7e6a9bfd1f2cd14f2b7504ad4573c37f78d6ee29 (diff) |
sw_redlinehide: trivial convert to GetPageDescItem()/GetBreakItem()
Change-Id: Ia652ff428c232b9307e41da8f6b9648f486f7179
Diffstat (limited to 'sw/source/core/layout/wsfrm.cxx')
-rw-r--r-- | sw/source/core/layout/wsfrm.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/layout/wsfrm.cxx b/sw/source/core/layout/wsfrm.cxx index bb04d4ed74db..a25bb8d7bb9f 100644 --- a/sw/source/core/layout/wsfrm.cxx +++ b/sw/source/core/layout/wsfrm.cxx @@ -2382,7 +2382,7 @@ void SwContentFrame::UpdateAttr_( const SfxPoolItem* pOld, const SfxPoolItem* pN SwPageFrame *pPage = FindPageFrame(); if ( !GetPrev() ) CheckPageDescs( pPage ); - if ( GetAttrSet()->GetPageDesc().GetNumOffset() ) + if (GetPageDescItem().GetNumOffset()) static_cast<SwRootFrame*>(pPage->GetUpper())->SetVirtPageNum( true ); SwDocPosUpdate aMsgHint( pPage->getFrameArea().Top() ); pPage->GetFormat()->GetDoc()->getIDocumentFieldsAccess().UpdatePageFields( &aMsgHint ); |