diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-26 15:27:48 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-26 15:33:28 +0100 |
commit | b95a886603c8302838ee4598ce8c7e47a4ab6d9e (patch) | |
tree | bcb1dfb7bbcc52fd3caa0a94f1660280c0461bf2 /canvas | |
parent | a64f0ab13a6190a701c375ed2197af25538a5c72 (diff) |
const_cast: convert some C-style casts and remove some redundant ones
Change-Id: Ic87452261d5104e86d22c1b37ea07b05864ca991
Diffstat (limited to 'canvas')
-rw-r--r-- | canvas/source/cairo/cairo_textlayout.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/canvas/source/cairo/cairo_textlayout.cxx b/canvas/source/cairo/cairo_textlayout.cxx index 008a7d71be85..decdde53344a 100644 --- a/canvas/source/cairo/cairo_textlayout.cxx +++ b/canvas/source/cairo/cairo_textlayout.cxx @@ -664,8 +664,8 @@ namespace cairocanvas renderState); // fill integer offsets - ::std::transform( const_cast< uno::Sequence< double >& >(inputOffsets).getConstArray(), - const_cast< uno::Sequence< double >& >(inputOffsets).getConstArray()+inputOffsets.getLength(), + ::std::transform( inputOffsets.getConstArray(), + inputOffsets.getConstArray()+inputOffsets.getLength(), outputOffsets, OffsetTransformer( aMatrix ) ); } |