cws impress190: rebase m82

This commit is contained in:
Christian Lippka
2010-06-14 18:49:32 +02:00
251 changed files with 633 additions and 6925 deletions

37
sd/source/ui/slidesorter/cache/SlsBitmapCache.cxx vendored Normal file → Executable file
View File

@@ -178,14 +178,6 @@ void BitmapCache::Clear (void)
bool BitmapCache::IsEmpty (void) const
{
return mpBitmapContainer->empty();
}
bool BitmapCache::IsFull (void) const
{
return mbIsFull;
@@ -261,21 +253,6 @@ bool BitmapCache::BitmapIsUpToDate (const CacheKey& rKey)
void BitmapCache::ReleaseBitmap (const CacheKey& rKey)
{
::osl::MutexGuard aGuard (maMutex);
CacheBitmapContainer::iterator aIterator (mpBitmapContainer->find(rKey));
if (aIterator != mpBitmapContainer->end())
{
UpdateCacheSize(aIterator->second, REMOVE);
mpBitmapContainer->erase(aIterator);
}
}
void BitmapCache::InvalidateBitmap (const CacheKey& rKey)
{
::osl::MutexGuard aGuard (maMutex);
@@ -348,20 +325,6 @@ void BitmapCache::SetBitmap (
bool BitmapCache::IsPrecious (const CacheKey& rKey)
{
::osl::MutexGuard aGuard (maMutex);
CacheBitmapContainer::iterator aIterator (mpBitmapContainer->find(rKey));
if (aIterator != mpBitmapContainer->end())
return aIterator->second.IsPrecious();
else
return false;
}
void BitmapCache::SetPrecious (const CacheKey& rKey, bool bIsPrecious)
{
::osl::MutexGuard aGuard (maMutex);