summaryrefslogtreecommitdiff
path: root/include/unotools
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2018-08-30 21:42:54 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2018-08-31 09:55:21 +0200
commitbf01403479096eb3e0d8c7d7dc09390570a1f262 (patch)
tree9cd168e00caa45afe53086b22f95d5a43ed11c4a /include/unotools
parent91cb01b1e6f898b5a1c1934f60b2b43653a12044 (diff)
tdf#42949 Fix IWYU warnings: boost/optional in include/
Found with bin/find-unneeded-includes a few low hanging boost/optional headers. This gets us about 75M includebloat reduction; still much to go Change-Id: I5c737631767970f9145609aad298a5d11e3fed65 Reviewed-on: https://gerrit.libreoffice.org/59840 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'include/unotools')
-rw-r--r--include/unotools/historyoptions.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/unotools/historyoptions.hxx b/include/unotools/historyoptions.hxx
index df9030a7e8fa..57b7d50da92c 100644
--- a/include/unotools/historyoptions.hxx
+++ b/include/unotools/historyoptions.hxx
@@ -20,7 +20,6 @@
#ifndef INCLUDED_UNOTOOLS_HISTORYOPTIONS_HXX
#define INCLUDED_UNOTOOLS_HISTORYOPTIONS_HXX
-#include <boost/optional.hpp>
#include <unotools/unotoolsdllapi.h>
#include <sal/types.h>
#include <com/sun/star/uno/Sequence.h>
@@ -29,6 +28,8 @@
#include <unotools/options.hxx>
#include <memory>
+namespace boost { template <class T> class optional; }
+
// The method GetList() returns a list of property values.
// Use follow defines to separate values by names.