From 8c9901906bbc6b59baa0b2ef918b7e7fe89538b8 Mon Sep 17 00:00:00 2001 From: Andre Fischer Date: Fri, 23 Apr 2010 17:06:10 +0200 Subject: renaissance1: #i107215# Reorganized the selection function. Introduced button bar. --- sd/source/ui/slidesorter/cache/SlsQueueProcessor.cxx | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'sd/source/ui/slidesorter/cache/SlsQueueProcessor.cxx') 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(mpCacheContext->GetPage(aKey)); if (pSdPage != NULL) { - const ::boost::shared_ptr 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); } } } -- cgit