summaryrefslogtreecommitdiff
path: root/include/editeng
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/editeng
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/editeng')
-rw-r--r--include/editeng/editeng.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/editeng/editeng.hxx b/include/editeng/editeng.hxx
index a94cf2abd0fb..3803822628ee 100644
--- a/include/editeng/editeng.hxx
+++ b/include/editeng/editeng.hxx
@@ -41,9 +41,10 @@
#include <o3tl/typed_flags_set.hxx>
#include <svl/languageoptions.hxx>
#include <vcl/errcode.hxx>
-#include <boost/optional.hpp>
#include <functional>
+namespace boost { template <class T> class optional; }
+
namespace com { namespace sun { namespace star {
namespace linguistic2 {
class XSpellChecker1;