diff options
Diffstat (limited to 'basegfx')
-rw-r--r-- | basegfx/source/tools/keystoplerp.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/basegfx/source/tools/keystoplerp.cxx b/basegfx/source/tools/keystoplerp.cxx index 725d52cf431a..0610dd19c228 100644 --- a/basegfx/source/tools/keystoplerp.cxx +++ b/basegfx/source/tools/keystoplerp.cxx @@ -50,10 +50,9 @@ namespace basegfx::utils } KeyStopLerp::KeyStopLerp( const ::css::uno::Sequence<double>& rKeyStops ) : - maKeyStops(rKeyStops.getLength()), + maKeyStops(rKeyStops.begin(), rKeyStops.end()), mnLastIndex(0) { - std::copy( rKeyStops.begin(), rKeyStops.end(), maKeyStops.begin() ); validateInput(maKeyStops); } |