summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
authorThorsten Behrens <tbehrens@novell.com>2011-02-08 20:25:25 +0100
committerThorsten Behrens <tbehrens@novell.com>2011-02-08 20:26:26 +0100
commitb14a690506b0786083714489099bc995a464df97 (patch)
tree669783a5393d0fcc14b15308127e0c5053d85b75 /canvas
parent52c63c207dc0d6f5569953bb351f2cbf2cd3c33d (diff)
Added iota to stl compat header, switch canvas to use that
Diffstat (limited to 'canvas')
-rw-r--r--canvas/source/vcl/impltools.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/canvas/source/vcl/impltools.cxx b/canvas/source/vcl/impltools.cxx
index 1b6829784ab3..a6cfe4a0a7f1 100644
--- a/canvas/source/vcl/impltools.cxx
+++ b/canvas/source/vcl/impltools.cxx
@@ -60,6 +60,7 @@
#include <basegfx/numeric/ftools.hxx>
#include <canvas/canvastools.hxx>
+#include <o3tl/compat_functional.hxx>
#include "impltools.hxx"
#include "canvasbitmap.hxx"
@@ -302,7 +303,7 @@ namespace vclcanvas
{
// source already has alpha channel - 1:1 mapping,
// i.e. aAlphaMap[0]=0,...,aAlphaMap[255]=255.
- ::std::iota( aAlphaMap, &aAlphaMap[256], 0 );
+ ::o3tl::iota( aAlphaMap, &aAlphaMap[256], 0 );
}
else
{