diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-05 13:27:30 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-06 08:35:23 +0200 |
commit | ab9b38a4064141705aa3a3de9a5d73b465ad3af3 (patch) | |
tree | 888fcc6b517c44d77e2d297c13ee84fb487dd7a7 /canvas | |
parent | 13341ffa49d58f313a05edae4f4f04c215658e9f (diff) |
use more begin()/end() for Sequence
Change-Id: I399be6b6ef7a6ce01e883569a177c0969bc29c69
Diffstat (limited to 'canvas')
-rw-r--r-- | canvas/source/cairo/cairo_textlayout.cxx | 4 | ||||
-rw-r--r-- | canvas/source/vcl/textlayout.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/canvas/source/cairo/cairo_textlayout.cxx b/canvas/source/cairo/cairo_textlayout.cxx index 3b6356c6cd51..09371f862a04 100644 --- a/canvas/source/cairo/cairo_textlayout.cxx +++ b/canvas/source/cairo/cairo_textlayout.cxx @@ -553,8 +553,8 @@ namespace cairocanvas renderState); // fill integer offsets - std::transform( inputOffsets.getConstArray(), - inputOffsets.getConstArray()+inputOffsets.getLength(), + std::transform( inputOffsets.begin(), + inputOffsets.end(), outputOffsets, OffsetTransformer( aMatrix ) ); } diff --git a/canvas/source/vcl/textlayout.cxx b/canvas/source/vcl/textlayout.cxx index 1a52371029a4..b6fcd5ffd5ad 100644 --- a/canvas/source/vcl/textlayout.cxx +++ b/canvas/source/vcl/textlayout.cxx @@ -411,8 +411,8 @@ namespace vclcanvas renderState); // fill integer offsets - std::transform( inputOffsets.getConstArray(), - inputOffsets.getConstArray()+inputOffsets.getLength(), + std::transform( inputOffsets.begin(), + inputOffsets.end(), outputOffsets, OffsetTransformer( aMatrix ) ); } |