summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-07-19 15:13:16 +0200
committerThomas Arnhold <thomas@arnhold.org>2011-07-20 16:38:54 +0200
commitf79a846c6d2cc1e4213334ec7b47d0e1680bafa7 (patch)
tree9b312392f79081ee2c07e3259064fcc364e2c239 /vcl
parent63bd3f537793e83adccbccc6936ca730138d9aae (diff)
callcatcher: cleanup Animation::Foo
Diffstat (limited to 'vcl')
-rw-r--r--vcl/inc/vcl/animate.hxx3
-rw-r--r--vcl/source/gdi/animate.cxx44
2 files changed, 0 insertions, 47 deletions
diff --git a/vcl/inc/vcl/animate.hxx b/vcl/inc/vcl/animate.hxx
index aaf88c8b6e76..956f63f330f8 100644
--- a/vcl/inc/vcl/animate.hxx
+++ b/vcl/inc/vcl/animate.hxx
@@ -192,8 +192,6 @@ public:
sal_Bool operator!=( const Animation& rAnimation ) const
{ return !(*this==rAnimation); }
- sal_Bool IsEqual( const Animation& rAnimation ) const;
-
sal_Bool IsEmpty() const;
void SetEmpty();
@@ -254,7 +252,6 @@ public:
);
sal_Bool Invert();
sal_Bool Mirror( sal_uLong nMirrorFlags );
- sal_Bool Dither( sal_uLong nDitherFlags = BMP_DITHER_MATRIX );
sal_Bool Adjust(
short nLuminancePercent = 0,
short nContrastPercent = 0,
diff --git a/vcl/source/gdi/animate.cxx b/vcl/source/gdi/animate.cxx
index 8cb6a47d902e..9dcbce01ffaf 100644
--- a/vcl/source/gdi/animate.cxx
+++ b/vcl/source/gdi/animate.cxx
@@ -190,27 +190,6 @@ sal_Bool Animation::operator==( const Animation& rAnimation ) const
// ------------------------------------------------------------------
-sal_Bool Animation::IsEqual( const Animation& rAnimation ) const
-{
- const size_t nCount = maList.size();
- sal_Bool bRet = sal_False;
-
- if( rAnimation.maList.size() == nCount
- && rAnimation.maBitmapEx.IsEqual( maBitmapEx )
- && rAnimation.maGlobalSize == maGlobalSize
- && rAnimation.meCycleMode == meCycleMode
- )
- {
- for( size_t n = 0; ( n < nCount ) && !bRet; n++ )
- if( maList[ n ]->IsEqual( *rAnimation.maList[ n ] ) )
- bRet = sal_True;
- }
-
- return bRet;
-}
-
-// ------------------------------------------------------------------
-
sal_Bool Animation::IsEmpty() const
{
return( maBitmapEx.IsEmpty() && maList.empty() );
@@ -763,29 +742,6 @@ sal_Bool Animation::Mirror( sal_uLong nMirrorFlags )
// -----------------------------------------------------------------------
-sal_Bool Animation::Dither( sal_uLong nDitherFlags )
-{
- DBG_ASSERT( !IsInAnimation(), "Animation modified while it is animated" );
-
- sal_Bool bRet;
-
- if( !IsInAnimation() && !maList.empty() )
- {
- bRet = sal_True;
-
- for( size_t i = 0, n = maList.size(); ( i < n ) && bRet; ++i )
- bRet = maList[ i ]->aBmpEx.Dither( nDitherFlags );
-
- maBitmapEx.Dither( nDitherFlags );
- }
- else
- bRet = sal_False;
-
- return bRet;
-}
-
-// -----------------------------------------------------------------------
-
sal_Bool Animation::Adjust( short nLuminancePercent, short nContrastPercent,
short nChannelRPercent, short nChannelGPercent, short nChannelBPercent,
double fGamma, sal_Bool bInvert )