summaryrefslogtreecommitdiff
path: root/svx/source/sdr
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-02-04 13:01:15 +0100
committerMichael Stahl <mstahl@redhat.com>2016-02-04 14:25:38 +0000
commit0835f5b80cecee7ec4326e4ab295f520112052fb (patch)
treed56f1e54c3edbccdc45e5f42b7eb09a467d503af /svx/source/sdr
parentf600e14561edf3ab35762a39a199ac6d03ab2706 (diff)
svx: replace boost::bind with C++11 lambda
Change-Id: I68f9559fab9a344979dc39b81f3738877483b5fe Reviewed-on: https://gerrit.libreoffice.org/22106 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'svx/source/sdr')
-rw-r--r--svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx b/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx
index 5500bdf6aa72..cc57902bb003 100644
--- a/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx
+++ b/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx
@@ -56,7 +56,6 @@
#include <basegfx/matrix/b2dhommatrix.hxx>
#include <drawinglayer/primitive2d/controlprimitive2d.hxx>
-#include <boost/bind.hpp>
#include <boost/noncopyable.hpp>
/*
@@ -1036,7 +1035,7 @@ namespace sdr { namespace contact {
}
m_bCreatingControl = true;
- ::comphelper::ScopeGuard aGuard( ::boost::bind( lcl_resetFlag, ::boost::ref( m_bCreatingControl ) ) );
+ ::comphelper::ScopeGuard aGuard([&] () { lcl_resetFlag(m_bCreatingControl); });
if ( m_aControl.is() )
{