[Libreoffice-commits] .: slideshow/source

Noel Power noelp at kemper.freedesktop.org
Mon Dec 6 02:44:43 PST 2010


 slideshow/source/engine/OGLTrans/unx/OGLTrans_TransitionImpl.cxx |    4 ----
 slideshow/source/engine/OGLTrans/win/OGLTrans_TransitionImpl.cxx |    4 ----
 slideshow/source/engine/transitions/clippingfunctor.cxx          |    2 --
 3 files changed, 10 deletions(-)

New commits:
commit d04bb556b10d27d99a58a48be7ffeaa7ace76d6d
Author: Kayo Hamid <revol.code at yahoo.com>
Date:   Mon Dec 6 10:43:55 2010 +0000

    some caretaker code cleanup in impress

diff --git a/slideshow/source/engine/OGLTrans/unx/OGLTrans_TransitionImpl.cxx b/slideshow/source/engine/OGLTrans/unx/OGLTrans_TransitionImpl.cxx
index de63a1b..3a56dfa 100644
--- a/slideshow/source/engine/OGLTrans/unx/OGLTrans_TransitionImpl.cxx
+++ b/slideshow/source/engine/OGLTrans/unx/OGLTrans_TransitionImpl.cxx
@@ -498,9 +498,6 @@ void OGLTransitionImpl::makeRochade()
     Slide.Operations.push_back(new RotateAndScaleDepthByWidth(basegfx::B3DVector(0,1,0),basegfx::B3DVector(0,0,0), 45, false, -1, 0));
     maEnteringSlidePrimitives.push_back(Slide);
 
-    //     OverallOperations.push_back(new SEllipseTranslate(0.5, 2, 0, 1, true, 0, 1));
-//      push_back(new STranslate(basegfx::B3DVector(0, 0, -2), true, 0, 0.5));
-//      OverallOperations.push_back(new STranslate(basegfx::B3DVector(0, 0, 2), true, 0.5, 1));
 }
 
 // TODO(Q3): extract to basegfx
@@ -559,7 +556,6 @@ void OGLTransitionImpl::makeRevolvingCircles( ::sal_uInt16 nCircles , ::sal_uInt
     }
     
     {
-        //double angle(0.0);
         Primitive EnteringSlide;
         Primitive LeavingSlide;
         for(int Point(0); Point + 1 < nPointsOnCircles; ++Point)
diff --git a/slideshow/source/engine/OGLTrans/win/OGLTrans_TransitionImpl.cxx b/slideshow/source/engine/OGLTrans/win/OGLTrans_TransitionImpl.cxx
index 13225f4..50fdadf 100644
--- a/slideshow/source/engine/OGLTrans/win/OGLTrans_TransitionImpl.cxx
+++ b/slideshow/source/engine/OGLTrans/win/OGLTrans_TransitionImpl.cxx
@@ -501,9 +501,6 @@ void OGLTransitionImpl::makeRochade()
     Slide.Operations.push_back(new RotateAndScaleDepthByWidth(basegfx::B3DVector(0,1,0),basegfx::B3DVector(0,0,0), 45, false, -1, 0));
     maEnteringSlidePrimitives.push_back(Slide);
 
-    //     OverallOperations.push_back(new SEllipseTranslate(0.5, 2, 0, 1, true, 0, 1));
-//      push_back(new STranslate(basegfx::B3DVector(0, 0, -2), true, 0, 0.5));
-//      OverallOperations.push_back(new STranslate(basegfx::B3DVector(0, 0, 2), true, 0.5, 1));
 }
 
 // TODO(Q3): extract to basegfx
@@ -562,7 +559,6 @@ void OGLTransitionImpl::makeRevolvingCircles( ::sal_uInt16 nCircles , ::sal_uInt
     }
     
     {
-        //double angle(0.0);
         Primitive EnteringSlide;
         Primitive LeavingSlide;
         for(int Point(0); Point + 1 < nPointsOnCircles; ++Point)
diff --git a/slideshow/source/engine/transitions/clippingfunctor.cxx b/slideshow/source/engine/transitions/clippingfunctor.cxx
index 4b4e148..5274845 100644
--- a/slideshow/source/engine/transitions/clippingfunctor.cxx
+++ b/slideshow/source/engine/transitions/clippingfunctor.cxx
@@ -50,8 +50,6 @@ namespace slideshow
                                          bool                                    bModeIn ) :
             mpParametricPoly( rPolygon ),
             maStaticTransformation(),
-            // AW: Not needed
-            // maBackgroundRect( createUnitRect() ),
             mbForwardParameterSweep( true ),
             mbSubtractPolygon( false ),
             mbScaleIsotrophically( rTransitionInfo.mbScaleIsotrophically ),


More information about the Libreoffice-commits mailing list