summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-07-07 22:12:51 +0200
committerMichael Stahl <mstahl@redhat.com>2015-07-08 11:26:58 +0200
commit5f3930edf853003fa57130b0a7d0a92059f94dc7 (patch)
tree568d34c28f2b41a0f55333360224592398023d09 /sw
parent177f59b9e0ebdbde1d13d0c18d57e215287eafbf (diff)
sw: remove boost::bind from PagePropertyPanel
Change-Id: I4e5bb81a14ee996bddc8585b5d350487f5f20d50
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/sidebar/PagePropertyPanel.cxx10
-rw-r--r--sw/source/uibase/sidebar/SwPanelFactory.cxx1
2 files changed, 4 insertions, 7 deletions
diff --git a/sw/source/uibase/sidebar/PagePropertyPanel.cxx b/sw/source/uibase/sidebar/PagePropertyPanel.cxx
index 0d0ac108283f..4300404db24c 100644
--- a/sw/source/uibase/sidebar/PagePropertyPanel.cxx
+++ b/sw/source/uibase/sidebar/PagePropertyPanel.cxx
@@ -48,8 +48,6 @@
#include <sfx2/viewsh.hxx>
#include <sfx2/objsh.hxx>
-#include <boost/bind.hpp>
-
#include <com/sun/star/frame/XController.hpp>
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/document/XUndoManagerSupplier.hpp>
@@ -171,16 +169,16 @@ PagePropertyPanel::PagePropertyPanel(
, m_aSwPagePgMetricControl(SID_ATTR_METRIC, *pBindings, *this)
, maOrientationPopup( this,
- ::boost::bind( &PagePropertyPanel::CreatePageOrientationControl, this, _1 ),
+ [this] (svx::sidebar::PopupContainer *parent) { return this->CreatePageOrientationControl(parent); },
OUString("Page orientation") )
, maMarginPopup( this,
- ::boost::bind( &PagePropertyPanel::CreatePageMarginControl, this, _1 ),
+ [this] (svx::sidebar::PopupContainer *parent) { return this->CreatePageMarginControl(parent); },
OUString("Page margins") )
, maSizePopup( this,
- ::boost::bind( &PagePropertyPanel::CreatePageSizeControl, this, _1 ),
+ [this] (svx::sidebar::PopupContainer *parent) { return this->CreatePageSizeControl(parent); },
OUString("Page size") )
, maColumnPopup( this,
- ::boost::bind( &PagePropertyPanel::CreatePageColumnControl, this, _1 ),
+ [this] (svx::sidebar::PopupContainer *parent) { return this->CreatePageColumnControl(parent); },
OUString("Page columns") )
, mxUndoManager( getUndoManager( rxFrame ) )
diff --git a/sw/source/uibase/sidebar/SwPanelFactory.cxx b/sw/source/uibase/sidebar/SwPanelFactory.cxx
index 92dd4875d948..ae6feab3ca69 100644
--- a/sw/source/uibase/sidebar/SwPanelFactory.cxx
+++ b/sw/source/uibase/sidebar/SwPanelFactory.cxx
@@ -37,7 +37,6 @@
#include <cppuhelper/basemutex.hxx>
#include <cppuhelper/supportsservice.hxx>
-#include <boost/bind.hpp>
#include <boost/noncopyable.hpp>
using namespace css;