summaryrefslogtreecommitdiff
path: root/reportdesign/source/filter/xml
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-05-12 13:43:03 +0200
committerMichael Stahl <mstahl@redhat.com>2016-05-12 14:38:16 +0200
commit3e61eb69ac1cff727072011e228eabfc8bc055c0 (patch)
treee037c7719e1c31b3da6ab5479d01255034555314 /reportdesign/source/filter/xml
parent3d1b29a7da5c95de7dc9456d05e46bf563eab9c9 (diff)
reportdesign: replace boost::bind with C++11 stuff
Change-Id: Idd164e36d6f20a24123886ee1f15202c796eacc6
Diffstat (limited to 'reportdesign/source/filter/xml')
-rw-r--r--reportdesign/source/filter/xml/xmlExport.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/reportdesign/source/filter/xml/xmlExport.cxx b/reportdesign/source/filter/xml/xmlExport.cxx
index 26a5b216372e..6ab1e188a649 100644
--- a/reportdesign/source/filter/xml/xmlExport.cxx
+++ b/reportdesign/source/filter/xml/xmlExport.cxx
@@ -56,8 +56,6 @@
#include <osl/mutex.hxx>
#include <sal/macros.h>
-#include <boost/bind.hpp>
-
#include <iterator>
#define DEFAULT_LINE_WIDTH 2
@@ -1200,8 +1198,10 @@ void ORptExport::exportAutoStyle(XPropertySet* _xProp,const Reference<XFormatted
aValue.LineStyle = table::BorderLineStyle::NONE;
uno::Any aEmpty;
aEmpty <<= aValue;
- ::std::for_each(aProps.begin(),aProps.end(),
- ::boost::bind(&beans::XPropertySet::setPropertyValue,xBorderProp,_1,aEmpty));
+ for (auto const& it : aProps)
+ {
+ xBorderProp->setPropertyValue(it, aEmpty);
+ }
::std::vector< XMLPropertyState > aBorderStates(m_xCellStylesExportPropertySetMapper->Filter(xBorderProp));
::std::copy(aBorderStates.begin(),aBorderStates.end(),::std::back_inserter(aPropertyStates));