diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-07-28 21:12:38 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-07-29 11:09:01 +0200 |
commit | c817dcb87316a0551a30c173ce5e8cdbe4e4bf7a (patch) | |
tree | a966d143b74383c547525267cb56ab95fadf3b3e /vcl/source/gdi/bmpacc.cxx | |
parent | c660d8a1160231f0a744a4b3e6772d58afe85bfd (diff) |
callcatcher: remove unused methods
Diffstat (limited to 'vcl/source/gdi/bmpacc.cxx')
-rw-r--r-- | vcl/source/gdi/bmpacc.cxx | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/vcl/source/gdi/bmpacc.cxx b/vcl/source/gdi/bmpacc.cxx index 03b29fcbc965..43ebf5d95d1b 100644 --- a/vcl/source/gdi/bmpacc.cxx +++ b/vcl/source/gdi/bmpacc.cxx @@ -301,29 +301,6 @@ void BitmapReadAccess::ImplZeroInitUnusedBits() // ------------------------------------------------------------------ -void BitmapReadAccess::Flush() -{ - ImplDestroy(); -} - -// ------------------------------------------------------------------ - -void BitmapReadAccess::ReAccess( sal_Bool bModify ) -{ - const ImpBitmap* pImpBmp = maBitmap.ImplGetImpBitmap(); - - DBG_ASSERT( !mpBuffer, "No ReAccess possible while bitmap is being accessed!" ); - DBG_ASSERT( pImpBmp && ( pImpBmp->ImplGetRefCount() > 1UL ), "Accessed bitmap does not exist anymore!" ); - - if( !mpBuffer && pImpBmp && ( pImpBmp->ImplGetRefCount() > 1UL ) ) - { - mbModify = bModify; - ImplCreate( maBitmap ); - } -} - -// ------------------------------------------------------------------ - sal_uInt16 BitmapReadAccess::GetBestPaletteIndex( const BitmapColor& rBitmapColor ) const { return( HasPalette() ? mpBuffer->maPalette.GetBestIndex( rBitmapColor ) : 0 ); |