path: root/sfx2/source
diff options
authorMichael Stahl <>2015-07-10 14:22:25 +0200
committerAshod Nakashian <>2016-02-06 17:24:23 -0500
commitdddfa4432fa341a68638ecaaa1320fc73e2e0e34 (patch)
tree366732b5eeee84c30b866e7bedc2e2a32fa32fd4 /sfx2/source
parent572d932792173d8e5e775f063cae5e5345ba4cf9 (diff)
vcl: remove boost/signal2/signal.hpp from header
The most relevant signal member function appears to be connect(), so let's create a wrapper function for that now, without the more esoteric ordering features for now. Move the signal member itself to a new pImpl. The benefits are worth it: preprocessor input reduced by 2.8GB, that's 9% of the total (excluding system headers which are not counted because they don't generate dependencies). Change-Id: I0aaeda51a5630a348bb12c81a83f67afbd508a14 (cherry picked from commit 20bd0a2ee9ed899ea542c2de08efda243dbef446)
Diffstat (limited to 'sfx2/source')
2 files changed, 3 insertions, 0 deletions
diff --git a/sfx2/source/dialog/templdlg.cxx b/sfx2/source/dialog/templdlg.cxx
index e64e7532beae..916bb06edef4 100644
--- a/sfx2/source/dialog/templdlg.cxx
+++ b/sfx2/source/dialog/templdlg.cxx
@@ -18,6 +18,7 @@
#include <boost/noncopyable.hpp>
+#include <boost/scoped_ptr.hpp>
#include <vcl/menu.hxx>
#include <vcl/settings.hxx>
diff --git a/sfx2/source/doc/graphhelp.cxx b/sfx2/source/doc/graphhelp.cxx
index ca19d1bf8ce5..1167db357c70 100644
--- a/sfx2/source/doc/graphhelp.cxx
+++ b/sfx2/source/doc/graphhelp.cxx
@@ -53,6 +53,8 @@
#include "graphhelp.hxx"
#include "doc.hrc"
+#include <boost/scoped_ptr.hpp>
using namespace css;
SvMemoryStream* GraphicHelper::getFormatStrFromGDI_Impl( const GDIMetaFile* pGDIMeta, ConvertDataFormat nFormat )