summaryrefslogtreecommitdiff
path: root/include/vcl/settings.hxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-07-09 23:08:57 +0200
committerMichael Stahl <mstahl@redhat.com>2015-07-10 23:27:39 +0200
commit5fd84da4d638a11f087f74a216ff189dbccdfd96 (patch)
tree6cb43962c6fa138978a855bbbd9e029675683ba5 /include/vcl/settings.hxx
parent64baed93cfa9b74d6ef5a8913918cfbaf8499271 (diff)
vcl: forward declare boost::optional in settings.hxx
... for 1134 fewer uses of optional.hpp and a saving of 673 MB of preprocessor input. Change-Id: I9e8020f3e1ae968db403174c1bc0c1eba1139ecb
Diffstat (limited to 'include/vcl/settings.hxx')
-rw-r--r--include/vcl/settings.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/vcl/settings.hxx b/include/vcl/settings.hxx
index 996feb1e7c7d..18cef47c9e5b 100644
--- a/include/vcl/settings.hxx
+++ b/include/vcl/settings.hxx
@@ -31,9 +31,13 @@
#include <unotools/syslocale.hxx>
#include <o3tl/typed_flags_set.hxx>
-#include <boost/optional.hpp>
#include <memory>
+namespace boost
+{
+ template<typename T> class optional;
+}
+
class CollatorWrapper;
class LocaleDataWrapper;
struct ImplMouseData;