[Libreoffice-commits] .: slideshow/source

Caolán McNamara caolan at kemper.freedesktop.org
Fri Dec 3 12:58:01 PST 2010


 slideshow/source/engine/slide/slideimpl.cxx |   11 -----------
 slideshow/source/engine/slideshowimpl.cxx   |   11 -----------
 slideshow/source/engine/tools.cxx           |   21 ---------------------
 3 files changed, 43 deletions(-)

New commits:
commit 9664af96d0ae74cf65fb704199faee6d22060bda
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Dec 3 20:57:54 2010 +0000

    callcatcher: removed uncalled and uncallable methods

diff --git a/slideshow/source/engine/slide/slideimpl.cxx b/slideshow/source/engine/slide/slideimpl.cxx
index ba6cee3..43eb012 100644
--- a/slideshow/source/engine/slide/slideimpl.cxx
+++ b/slideshow/source/engine/slide/slideimpl.cxx
@@ -169,12 +169,6 @@ private:
     */
     bool isAnimated();
 
-    /** Query whether this slide is currently showing.
-
-        @return true, if this slide is currently showing.
-    */
-    bool isShowing() const;
-
     void enablePaintOverlay();
     void disablePaintOverlay();
 
@@ -732,11 +726,6 @@ void SlideImpl::resetCursor()
     mrCursorManager.resetCursor();
 }
 
-bool SlideImpl::isShowing() const
-{
-    return meAnimationState == SHOWING_STATE;
-}
-
 bool SlideImpl::isAnimated()
 {
     // prefetch, but don't apply initial shape attributes
diff --git a/slideshow/source/engine/slideshowimpl.cxx b/slideshow/source/engine/slideshowimpl.cxx
index fcc4f84..7c31ff7 100644
--- a/slideshow/source/engine/slideshowimpl.cxx
+++ b/slideshow/source/engine/slideshowimpl.cxx
@@ -161,12 +161,6 @@ public:
     */
     void Deactivate (void);
 
-    /** Return the current time of the timer.  It is not synchronized with
-        any other timer so its absolute values are of no concern.  Typically
-        used during debugging to measure durations.
-    */
-    double GetCurrentTime (void) const;
-
 private:
     /** The timer that is used for synchronization is independent from the
         one used by SlideShowImpl: it is not paused or modified by
@@ -2480,11 +2474,6 @@ void FrameSynchronization::Deactivate (void)
     mbIsActive = false;
 }
 
-double FrameSynchronization::GetCurrentTime (void) const
-{
-    return maTimer.getElapsedTime();
-}
-
 } // anon namespace
 
 namespace sdecl = comphelper::service_decl;
diff --git a/slideshow/source/engine/tools.cxx b/slideshow/source/engine/tools.cxx
index b5e1ec5..1a6db2d 100644
--- a/slideshow/source/engine/tools.cxx
+++ b/slideshow/source/engine/tools.cxx
@@ -719,27 +719,6 @@ namespace slideshow
                 ::cppcanvas::getBlue(aColor));
         }
         
-        /*sal_Int32 RGBAColor2UnoColor( ::cppcanvas::Color::IntSRGBA aColor )
-        {
-            return ::cppcanvas::unMakeColor(
-                                                    // convert from IntSRGBA color to API color
-                                                    // (0xRRGGBBAA -> 0xAARRGGBB)
-                                                    static_cast< sal_uInt8 >(0),
-                                                    ::cppcanvas::getRed(aColor),
-                                                    ::cppcanvas::getGreen(aColor),
-                                                    ::cppcanvas::getBlue(aColor));
-        }*/
-
-        sal_Int8 unSignedToSigned(sal_Int8 nInt)
-        {	
-            if(nInt < 0 ){
-                sal_Int8 nInt2 = nInt >> 1U;
-                return nInt2;
-            }else{
-                return nInt;
-            }
-        }
-        
         void fillRect( const ::cppcanvas::CanvasSharedPtr& rCanvas,
                        const ::basegfx::B2DRectangle&	   rRect,
                        ::cppcanvas::Color::IntSRGBA        aFillColor )


More information about the Libreoffice-commits mailing list