summaryrefslogtreecommitdiff
path: root/canvas/source/opengl
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-07-31 21:35:42 +0200
committerMichael Stahl <mstahl@redhat.com>2015-07-31 21:35:42 +0200
commitc2966acc465086b164b36e3366f164554f83ad21 (patch)
treea1428a7eed2a7002ca0ee7c6aed2daa9a6841065 /canvas/source/opengl
parent701cfbd696a8bbea9296de0b32bb80b007c04496 (diff)
canvas: replace boost::function with std::function
Change-Id: I1a4a3007a07a796d80d06ab7554953925bb8be3d
Diffstat (limited to 'canvas/source/opengl')
-rw-r--r--canvas/source/opengl/ogl_canvashelper.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/canvas/source/opengl/ogl_canvashelper.cxx b/canvas/source/opengl/ogl_canvashelper.cxx
index 6fb306f4d5fa..63acd3cc9a7f 100644
--- a/canvas/source/opengl/ogl_canvashelper.cxx
+++ b/canvas/source/opengl/ogl_canvashelper.cxx
@@ -37,9 +37,9 @@
#include <GL/glew.h>
#include <boost/bind.hpp>
-#include <boost/function.hpp>
#include <memory>
+#include <functional>
using namespace ::com::sun::star;
@@ -85,13 +85,13 @@ namespace oglcanvas
rendering::ARGBColor maARGBColor;
::basegfx::B2DPolyPolygonVector maPolyPolys;
- ::boost::function6< bool,
+ ::std::function< bool (
const CanvasHelper&,
const ::basegfx::B2DHomMatrix&,
GLenum,
GLenum,
const rendering::ARGBColor&,
- const ::basegfx::B2DPolyPolygonVector& > maFunction;
+ const ::basegfx::B2DPolyPolygonVector&)> maFunction;
};
namespace