sw/source/core/layout/tabfrm.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 1db0d12daae001eb8cae0e30d653d96e3ce1b925
Author:     Michael Stahl <[email protected]>
AuthorDate: Fri May 20 19:58:42 2022 +0200
Commit:     Michael Stahl <[email protected]>
CommitDate: Fri May 20 19:59:03 2022 +0200

    sw: no std::optional yet
    
    Change-Id: I46e238fee67af617cf8034942a7b553ac768f654

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 <DocumentSettingManager.hxx>
 #include <docary.hxx>
 #include <o3tl/make_unique.hxx>
-#include <optional>
+#include <boost/optional.hpp>
 
 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<SfxDeleteListener> oDeleteListener;
+            boost::optional<SfxDeleteListener> oDeleteListener;
             if (pOldBoss)
                 oDeleteListener.emplace(*pOldBoss);
             SwFrameDeleteGuard g(this);

Reply via email to