summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <michael.stahl@allotropia.de>2022-05-20 19:58:42 +0200
committerMichael Stahl <michael.stahl@allotropia.de>2022-05-20 19:59:03 +0200
commit1db0d12daae001eb8cae0e30d653d96e3ce1b925 (patch)
tree1ed41e5ad522b38c0b5e0cce46d2c26155386e42
parent2d284a9ef4556d6fc6b873e3614957993f478aac (diff)
sw: no std::optional yetcib-6.1-34
Change-Id: I46e238fee67af617cf8034942a7b553ac768f654
-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);