diff options
Diffstat (limited to 'basegfx/inc/basegfx/tools/lerp.hxx')
-rw-r--r-- | basegfx/inc/basegfx/tools/lerp.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/basegfx/inc/basegfx/tools/lerp.hxx b/basegfx/inc/basegfx/tools/lerp.hxx index dd513400835b..8147b763944c 100644 --- a/basegfx/inc/basegfx/tools/lerp.hxx +++ b/basegfx/inc/basegfx/tools/lerp.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2008 by Sun Microsystems, Inc. * * OpenOffice.org - a multi-platform office productivity suite @@ -47,11 +47,11 @@ namespace basegfx @param t As usual, t must be in the [0,1] range */ - template< typename ValueType > ValueType lerp( const ValueType& rFrom, - const ValueType& rTo, - double t ) + template< typename ValueType > ValueType lerp( const ValueType& rFrom, + const ValueType& rTo, + double t ) { - // This is only to suppress a double->int warning. All other + // This is only to suppress a double->int warning. All other // types should be okay here. return static_cast<ValueType>( (1.0-t)*rFrom + t*rTo ); } |