summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-12-03 20:57:54 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-12-03 20:57:54 +0000
commit42b4aaf23bf4852ac2fbbe2ec68badad9e95c600 (patch)
treecc2f597cffc7d0922b17b428c232217e82848d2d /slideshow
parentb89c71bb3adc3e429a3d9ec553a218f2e716edb6 (diff)
callcatcher: removed uncalled and uncallable methods
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/source/engine/slide/slideimpl.cxx11
-rw-r--r--slideshow/source/engine/slideshowimpl.cxx11
-rw-r--r--slideshow/source/engine/tools.cxx21
3 files changed, 0 insertions, 43 deletions
diff --git a/slideshow/source/engine/slide/slideimpl.cxx b/slideshow/source/engine/slide/slideimpl.cxx
index 04d417bc2e50..3ea925fb976d 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 8b37aec5f6f0..f02440109c46 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 f49226761faa..65ab4d02d297 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 )