summaryrefslogtreecommitdiff
path: root/include/sax
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/sax
parent62d2d59f5fdb0068226165aac62c093c8174a674 (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/sax')
-rw-r--r--include/sax/tools/converter.hxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/sax/tools/converter.hxx b/include/sax/tools/converter.hxx
index a372360f6d8d..967c395433ff 100644
--- a/include/sax/tools/converter.hxx
+++ b/include/sax/tools/converter.hxx
@@ -20,6 +20,10 @@
#ifndef INCLUDED_SAX_TOOLS_CONVERTER_HXX
#define INCLUDED_SAX_TOOLS_CONVERTER_HXX
+#include <sal/config.h>
+
+#include <boost/optional.hpp>
+
#include <sax/saxdllapi.h>
#include <sal/types.h>
@@ -28,8 +32,6 @@
#include <com/sun/star/util/MeasureUnit.hpp>
#include <tools/color.hxx>
-namespace boost { template <class T> class optional; }
-
namespace com { namespace sun { namespace star {
namespace uno {
class Any;