diff options
Diffstat (limited to 'sd/source/ui/slidesorter/cache/SlsBitmapCache.cxx')
-rw-r--r-- | sd/source/ui/slidesorter/cache/SlsBitmapCache.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sd/source/ui/slidesorter/cache/SlsBitmapCache.cxx b/sd/source/ui/slidesorter/cache/SlsBitmapCache.cxx index e537fff89e58..93e527d162f9 100644 --- a/sd/source/ui/slidesorter/cache/SlsBitmapCache.cxx +++ b/sd/source/ui/slidesorter/cache/SlsBitmapCache.cxx @@ -375,8 +375,7 @@ void BitmapCache::Recycle (const BitmapCache& rCache) } } -::std::unique_ptr<BitmapCache::CacheIndex> BitmapCache::GetCacheIndex ( - bool bIncludeNoPreview) const +::std::unique_ptr<BitmapCache::CacheIndex> BitmapCache::GetCacheIndex() const { ::osl::MutexGuard aGuard (maMutex); @@ -391,7 +390,7 @@ void BitmapCache::Recycle (const BitmapCache& rCache) if ( iEntry->second.IsPrecious()) continue; - if ( ! bIncludeNoPreview && ! iEntry->second.HasPreview()) + if ( ! iEntry->second.HasPreview()) continue; aSortedContainer.push_back(SortableBitmapContainer::value_type( |