From 1db0d12daae001eb8cae0e30d653d96e3ce1b925 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Fri, 20 May 2022 19:58:42 +0200 Subject: sw: no std::optional yet Change-Id: I46e238fee67af617cf8034942a7b553ac768f654 --- sw/source/core/layout/tabfrm.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sw/source/core/layout/tabfrm.cxx b/sw/source/core/layout/tabfrm.cxx index 8da20ee2f3ea..07857266045e 100644 --- a/sw/source/core/layout/tabfrm.cxx +++ b/sw/source/core/layout/tabfrm.cxx @@ -59,7 +59,7 @@ #include #include #include -#include +#include using namespace ::com::sun::star; @@ -2052,7 +2052,7 @@ void SwTabFrame::MakeAll(vcl::RenderContext* pRenderContext) } SwFootnoteBossFrame *pOldBoss = bFootnotesInDoc ? FindFootnoteBossFrame( true ) : nullptr; bool bReformat; - std::optional oDeleteListener; + boost::optional oDeleteListener; if (pOldBoss) oDeleteListener.emplace(*pOldBoss); SwFrameDeleteGuard g(this); -- cgit