diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-04-17 22:08:38 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-04-17 22:15:30 +0200 |
commit | 1160dc2a14bd3faf9471d60afa2497518c9cde74 (patch) | |
tree | ad1b173334745bbe6381ab21f796a1545883d1db /slideshow | |
parent | coverity#1202901 Uncaught exception (diff) | |
download | core-1160dc2a14bd3faf9471d60afa2497518c9cde74.tar.gz core-1160dc2a14bd3faf9471d60afa2497518c9cde74.zip |
loplugin:unreffun
Change-Id: I9f80184d8066f69787722322915b4a70e432141a
Diffstat (limited to 'slideshow')
-rw-r--r-- | slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionImpl.mm | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionImpl.mm b/slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionImpl.mm index 00b3bb3808bd..802061e37e30 100644 --- a/slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionImpl.mm +++ b/slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionImpl.mm @@ -507,14 +507,6 @@ inline basegfx::B2DVector clamp(const basegfx::B2DVector& v) min(max(v.getY(),-1.0),1.0)); } -// TODO(Q3): extract to basegfx -inline basegfx::B3DVector clamp(const basegfx::B3DVector& v) -{ - return basegfx::B3DVector(min(max(v.getX(),-1.0),1.0), - min(max(v.getY(),-1.0),1.0), - min(max(v.getZ(),-1.0),1.0)); -} - inline double randFromNeg1to1() { return ( ( static_cast<double>( rand() ) / static_cast<double>( RAND_MAX ) ) * 2.0 ) - 1.0; |