Kaydet (Commit) b95a8866 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

const_cast: convert some C-style casts and remove some redundant ones

Change-Id: Ic87452261d5104e86d22c1b37ea07b05864ca991
üst a64f0ab1
......@@ -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 ) );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment