diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-07-31 18:31:01 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-07-31 21:24:26 +0200 |
commit | 9e90038b73b84e622e20145ac56c642996e658e9 (patch) | |
tree | 850df54f78a0380b5825232e4bdddf5075b23735 /include/canvas | |
parent | 69885050705d65803b0176beb7ffc7938d527396 (diff) |
canvas: replace boost::function with std::function
Change-Id: Ia3644bc0d9db2159aa4e9f05ca2f36e60b63e6f4
Diffstat (limited to 'include/canvas')
-rw-r--r-- | include/canvas/propertysethelper.hxx | 6 |
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; |