diff options
Diffstat (limited to 'sw/source/core/layout/pagechg.cxx')
-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 6d1df44ddd59..c31911594ecb 100644 --- a/sw/source/core/layout/pagechg.cxx +++ b/sw/source/core/layout/pagechg.cxx @@ -1303,7 +1303,7 @@ SwPageFrame *SwFrame::InsertPage( SwPageFrame *pPrevPage, bool bFootnote ) pDesc = rDesc.GetPageDesc(); if ( rDesc.GetNumOffset() ) { - ::boost::optional<sal_uInt16> oNumOffset = rDesc.GetNumOffset(); + ::o3tl::optional<sal_uInt16> oNumOffset = rDesc.GetNumOffset(); bWishedOdd = oNumOffset && (*oNumOffset % 2) != 0; // use the opportunity to set the flag at root pRoot->SetVirtPageNum( true ); |