summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/layout/tabfrm.cxx4
1 files 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 <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);