summaryrefslogtreecommitdiffstats
path: root/include/editeng/editeng.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-11-28 13:17:40 +0100
committerStephan Bergmann <sbergman@redhat.com>2019-12-01 13:58:41 +0100
commit32b4936c9944111382d2491d99fc375b31d76723 (patch)
tree4fe4cd24998bd8764bb871a4ec25432e7356ce31 /include/editeng/editeng.hxx
parentRewrite uses of boost::optional, Windows redux (diff)
downloadcore-32b4936c9944111382d2491d99fc375b31d76723.tar.gz
core-32b4936c9944111382d2491d99fc375b31d76723.zip
Don't use boost::optional forward declarations
...in preparation for wholesale replacement of boost::optional with o3tl::optional (which will be a using declaration for either std::optional or boost::optional, hence can't be forward-declared easily) Change-Id: I031ed1812a0c939f37253f7753e358f1ad9153a3 Reviewed-on: https://gerrit.libreoffice.org/84126 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include/editeng/editeng.hxx')
-rw-r--r--include/editeng/editeng.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/editeng/editeng.hxx b/include/editeng/editeng.hxx
index 368fae70a633..12b4b0b28398 100644
--- a/include/editeng/editeng.hxx
+++ b/include/editeng/editeng.hxx
@@ -22,6 +22,9 @@
#include <memory>
#include <vector>
+
+#include <boost/optional.hpp>
+
#include <com/sun/star/uno/Reference.h>
#include <com/sun/star/i18n/WordType.hpp>
#include <com/sun/star/i18n/CharacterIteratorMode.hpp>
@@ -41,7 +44,6 @@
#include <vcl/errcode.hxx>
#include <functional>
-namespace boost { template <class T> class optional; }
template <typename Arg, typename Ret> class Link;
namespace com { namespace sun { namespace star {