[Libreoffice-commits] core.git: slideshow/source
Stephan Bergmann
sbergman at redhat.com
Thu Apr 17 13:15:53 PDT 2014
slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionImpl.mm | 8 --------
1 file changed, 8 deletions(-)
New commits:
commit 1160dc2a14bd3faf9471d60afa2497518c9cde74
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Apr 17 22:08:38 2014 +0200
loplugin:unreffun
Change-Id: I9f80184d8066f69787722322915b4a70e432141a
diff --git a/slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionImpl.mm b/slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionImpl.mm
index 00b3bb3..802061e 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;
More information about the Libreoffice-commits
mailing list