diff options
author | Andre Fischer <af@openoffice.org> | 2010-04-23 17:06:10 +0200 |
---|---|---|
committer | Andre Fischer <af@openoffice.org> | 2010-04-23 17:06:10 +0200 |
commit | 8c9901906bbc6b59baa0b2ef918b7e7fe89538b8 (patch) | |
tree | 00bb5a4e38becdbcde4e238092a5c500b55d6835 /sd/source/ui/slidesorter/cache/SlsQueueProcessor.cxx | |
parent | 8c6409990af3f38230a465801c7aba39e127e338 (diff) |
renaissance1: #i107215# Reorganized the selection function. Introduced button bar.
Diffstat (limited to 'sd/source/ui/slidesorter/cache/SlsQueueProcessor.cxx')
-rw-r--r-- | sd/source/ui/slidesorter/cache/SlsQueueProcessor.cxx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sd/source/ui/slidesorter/cache/SlsQueueProcessor.cxx b/sd/source/ui/slidesorter/cache/SlsQueueProcessor.cxx index 4ee928edbfcd..e4598927d75c 100644 --- a/sd/source/ui/slidesorter/cache/SlsQueueProcessor.cxx +++ b/sd/source/ui/slidesorter/cache/SlsQueueProcessor.cxx @@ -213,15 +213,12 @@ void QueueProcessor::ProcessOneRequest ( const SdPage* pSdPage = dynamic_cast<const SdPage*>(mpCacheContext->GetPage(aKey)); if (pSdPage != NULL) { - const ::boost::shared_ptr<BitmapEx> pPreview ( + const PreviewType aPreview ( maBitmapFactory.CreateBitmap(*pSdPage, maPreviewSize, mbDoSuperSampling)); - mpCache->SetBitmap ( - pSdPage, - pPreview, - ePriorityClass!=NOT_VISIBLE); + mpCache->SetBitmap (pSdPage, aPreview, ePriorityClass!=NOT_VISIBLE); // Initiate a repaint of the new preview. - mpCacheContext->NotifyPreviewCreation(aKey, pPreview); + mpCacheContext->NotifyPreviewCreation(aKey, aPreview); } } } |