[Libreoffice-commits] core.git: svx/source
n.r.pearson
n.r.pearson at gmail.com
Thu Sep 10 00:48:55 PDT 2015
svx/source/unodraw/unoshape.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit fa4871b7436c159c9d206d910f899d8af3044d72
Author: n.r.pearson <n.r.pearson at gmail.com>
Date: Wed Sep 9 11:24:33 2015 -0400
tdf#93243 replace boost::bind with C++11 lambdas in unoshape.cxx
Change-Id: I0f87956800e741a837f3492aa76968df35b692ec
Reviewed-on: https://gerrit.libreoffice.org/18449
Reviewed-by: Noel Grandin <noelgrandin at gmail.com>
Tested-by: Noel Grandin <noelgrandin at gmail.com>
diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx
index 35423a2..667d687 100644
--- a/svx/source/unodraw/unoshape.cxx
+++ b/svx/source/unodraw/unoshape.cxx
@@ -92,7 +92,6 @@
#include "svx/lathe3d.hxx"
#include "svx/extrud3d.hxx"
-#include <boost/bind.hpp>
#include <boost/scoped_ptr.hpp>
#include <vcl/wmf.hxx>
@@ -1831,7 +1830,7 @@ void SAL_CALL SvxShape::setPropertyValues( const ::com::sun::star::uno::Sequence
// make sure mbIsMultiPropertyCall and mpImpl->mpItemSet are
// reseted even when an exception is thrown
- const ::comphelper::ScopeGuard aGuard( boost::bind( &SvxShape::endSetPropertyValues, this ) );
+ const ::comphelper::ScopeGuard aGuard( [this] () { return this->endSetPropertyValues(); } );
mbIsMultiPropertyCall = true;
More information about the Libreoffice-commits
mailing list