summaryrefslogtreecommitdiff
path: root/sd/source/ui/presenter
diff options
context:
space:
mode:
authorAndre Fischer <af@openoffice.org>2010-04-23 17:06:10 +0200
committerAndre Fischer <af@openoffice.org>2010-04-23 17:06:10 +0200
commit8c9901906bbc6b59baa0b2ef918b7e7fe89538b8 (patch)
tree00bb5a4e38becdbcde4e238092a5c500b55d6835 /sd/source/ui/presenter
parent8c6409990af3f38230a465801c7aba39e127e338 (diff)
renaissance1: #i107215# Reorganized the selection function. Introduced button bar.
Diffstat (limited to 'sd/source/ui/presenter')
-rw-r--r--sd/source/ui/presenter/PresenterPreviewCache.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/presenter/PresenterPreviewCache.cxx b/sd/source/ui/presenter/PresenterPreviewCache.cxx
index 59af1fc34c7d..f0d0002c04d0 100644
--- a/sd/source/ui/presenter/PresenterPreviewCache.cxx
+++ b/sd/source/ui/presenter/PresenterPreviewCache.cxx
@@ -64,7 +64,7 @@ public:
// CacheContext
virtual void NotifyPreviewCreation (
- CacheKey aKey, const ::boost::shared_ptr<BitmapEx>& rPreview);
+ CacheKey aKey, const PreviewType& rPreview);
virtual bool IsIdle (void);
virtual bool IsVisible (CacheKey aKey);
virtual const SdrPage* GetPage (CacheKey aKey);
@@ -209,7 +209,7 @@ Reference<rendering::XBitmap> SAL_CALL PresenterPreviewCache::getSlidePreview (
if (pPage == NULL)
throw RuntimeException();
- const BitmapEx aPreview (mpCache->GetPreviewBitmap(pPage,true));
+ const BitmapEx aPreview (mpCache->GetPreviewBitmap(pPage,true).GetBitmap());
if (aPreview.IsEmpty())
return NULL;
else
@@ -368,7 +368,7 @@ void PresenterPreviewCache::PresenterCacheContext::RemovePreviewCreationNotifyLi
void PresenterPreviewCache::PresenterCacheContext::NotifyPreviewCreation (
CacheKey aKey,
- const ::boost::shared_ptr<BitmapEx>& rPreview)
+ const PreviewType& rPreview)
{
(void)rPreview;