diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-11-28 13:17:40 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-12-01 13:58:41 +0100 |
commit | 32b4936c9944111382d2491d99fc375b31d76723 (patch) | |
tree | 4fe4cd24998bd8764bb871a4ec25432e7356ce31 /include/editeng | |
parent | 62d2d59f5fdb0068226165aac62c093c8174a674 (diff) |
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')
-rw-r--r-- | include/editeng/editeng.hxx | 4 |
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 { |