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/toolkit | |
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/toolkit')
-rw-r--r-- | include/toolkit/controls/unocontrols.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/toolkit/controls/unocontrols.hxx b/include/toolkit/controls/unocontrols.hxx index 4bf493915b2d..5ea17a412915 100644 --- a/include/toolkit/controls/unocontrols.hxx +++ b/include/toolkit/controls/unocontrols.hxx @@ -54,7 +54,8 @@ #include <memory> #include <vector> -namespace boost { template <class T> class optional; } +#include <boost/optional.hpp> + namespace com { namespace sun { namespace star { namespace graphic { class XGraphic; } } } } namespace com { namespace sun { namespace star { namespace graphic { class XGraphicObject; } } } } |