summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-07-10 14:22:25 +0200
committerMichael Stahl <mstahl@redhat.com>2015-07-10 23:27:40 +0200
commit20bd0a2ee9ed899ea542c2de08efda243dbef446 (patch)
tree6b91afd982d11bec1e4e48b67a38bee3c6109ea6 /svtools
parentece8699f8f22f6bae137c601bc29b83b75dc3bf3 (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
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/control/inettbc.cxx3
-rw-r--r--svtools/source/control/ruler.cxx2
2 files changed, 4 insertions, 1 deletions
diff --git a/svtools/source/control/inettbc.cxx b/svtools/source/control/inettbc.cxx
index 4f3419845726..7579687add13 100644
--- a/svtools/source/control/inettbc.cxx
+++ b/svtools/source/control/inettbc.cxx
@@ -893,7 +893,8 @@ void SvtURLBox::Init(bool bSetDefaultHelpID)
SetText( OUString() );
- GetSubEdit()->autocompleteSignal.connect( boost::bind( &SvtURLBox::AutoCompleteHandler, this, _1 ) );
+ GetSubEdit()->SignalConnectAutocomplete(nullptr,
+ [this] (Edit *const pEdit) { this->AutoCompleteHandler(pEdit); } );
UpdatePicklistForSmartProtocol_Impl();
EnableAutoSize(GetStyle() & WB_AUTOSIZE);
diff --git a/svtools/source/control/ruler.cxx b/svtools/source/control/ruler.cxx
index 4595b42028e5..0d6c6ab05f88 100644
--- a/svtools/source/control/ruler.cxx
+++ b/svtools/source/control/ruler.cxx
@@ -29,6 +29,8 @@
#include <svtools/svtools.hrc>
#include <svtools/colorcfg.hxx>
+#include <boost/scoped_ptr.hpp>
+
#include <vector>
using namespace std;