summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-07-31 18:31:01 +0200
committerMichael Stahl <mstahl@redhat.com>2015-07-31 21:24:26 +0200
commit9e90038b73b84e622e20145ac56c642996e658e9 (patch)
tree850df54f78a0380b5825232e4bdddf5075b23735 /include
parent69885050705d65803b0176beb7ffc7938d527396 (diff)
canvas: replace boost::function with std::function
Change-Id: Ia3644bc0d9db2159aa4e9f05ca2f36e60b63e6f4
Diffstat (limited to 'include')
-rw-r--r--include/canvas/propertysethelper.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/canvas/propertysethelper.hxx b/include/canvas/propertysethelper.hxx
index 37aea9313f4a..22560979a308 100644
--- a/include/canvas/propertysethelper.hxx
+++ b/include/canvas/propertysethelper.hxx
@@ -24,7 +24,7 @@
#include <com/sun/star/beans/XPropertySet.hpp>
#include <canvas/canvastools.hxx>
-#include <boost/function.hpp>
+#include <functional>
#include <vector>
#include <memory>
@@ -50,8 +50,8 @@ namespace canvas
class CANVASTOOLS_DLLPUBLIC PropertySetHelper
{
public:
- typedef boost::function0< ::com::sun::star::uno::Any > GetterType;
- typedef boost::function1<void, const ::com::sun::star::uno::Any&> SetterType;
+ typedef std::function<::com::sun::star::uno::Any ()> GetterType;
+ typedef std::function<void (const ::com::sun::star::uno::Any&)> SetterType;
struct Callbacks
{
GetterType getter;