diff options
author | Thorsten Behrens <tbehrens@novell.com> | 2011-02-08 20:25:25 +0100 |
---|---|---|
committer | Thorsten Behrens <tbehrens@novell.com> | 2011-02-08 20:26:26 +0100 |
commit | b14a690506b0786083714489099bc995a464df97 (patch) | |
tree | 669783a5393d0fcc14b15308127e0c5053d85b75 /canvas/source | |
parent | 52c63c207dc0d6f5569953bb351f2cbf2cd3c33d (diff) |
Added iota to stl compat header, switch canvas to use that
Diffstat (limited to 'canvas/source')
-rw-r--r-- | canvas/source/vcl/impltools.cxx | 3 |
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 { |