diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-08-29 17:01:12 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-08-29 17:01:12 +0200 |
commit | d6d22cafcac210c8a0d8952c8ae41e38281e9a31 (patch) | |
tree | 7aa5af78bd4d1a41719d54b3d56117551aa43404 | |
parent | d0112acca482b1ea3eb066d4153f4f3795dbfe2c (diff) |
loplugin:nullptr
Change-Id: I829b981553cd9e85c6bdae119fcf3df7600a679f
-rw-r--r-- | sw/source/core/layout/pagechg.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/layout/pagechg.cxx b/sw/source/core/layout/pagechg.cxx index 493c0ec221c2..dd2aab0f59a7 100644 --- a/sw/source/core/layout/pagechg.cxx +++ b/sw/source/core/layout/pagechg.cxx @@ -1051,7 +1051,7 @@ void SwFrame::CheckPageDescs( SwPageFrame *pStart, bool bNotifyFields, SwPageFra SAL_INFO( "sw.pageframe", "CheckPageDescs phys: " << pPage->GetPhyPageNum() << " c: 1+3 - skip next page of p: " << pPage ); if (pPage->GetPageDesc() != pPrevPage->GetPageDesc()) - pPage->SetPageDesc( pPrevPage->GetPageDesc(), 0 ); + pPage->SetPageDesc( pPrevPage->GetPageDesc(), nullptr ); // We can skip the next page, as all checks were already done! pPage = static_cast<SwPageFrame*>(pNextPage->GetNext()); continue; |