summaryrefslogtreecommitdiffstats
path: root/sd
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-06-04 15:20:48 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-06-04 21:33:04 +0200
commit874f2d8486e210aacec09d133013aa323084ea31 (patch)
treea6981103f0ac42ab1dad0e0525f3d4c653f3e388 /sd
parentProperly decompose vnd.sun.star.pkg URL (diff)
downloadcore-874f2d8486e210aacec09d133013aa323084ea31.tar.gz
core-874f2d8486e210aacec09d133013aa323084ea31.zip
second param of NotifyPreviewCreation is unused
ever since it was introduced in commit cd361fde6a8033015a589531992e3d37c10e6f05 Date: Thu Apr 3 13:45:13 2008 +0000 INTEGRATION: CWS presenterview (1.1.2); FILE ADDED Change-Id: I480ca64d6c02b69f7a738ec1f914267fa4ea9e7a Reviewed-on: https://gerrit.libreoffice.org/55283 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/presenter/PresenterPreviewCache.cxx7
-rw-r--r--sd/source/ui/slidesorter/cache/SlsQueueProcessor.cxx2
-rw-r--r--sd/source/ui/slidesorter/inc/cache/SlsCacheContext.hxx6
-rw-r--r--sd/source/ui/slidesorter/view/SlsViewCacheContext.cxx4
-rw-r--r--sd/source/ui/slidesorter/view/SlsViewCacheContext.hxx2
5 files changed, 6 insertions, 15 deletions
diff --git a/sd/source/ui/presenter/PresenterPreviewCache.cxx b/sd/source/ui/presenter/PresenterPreviewCache.cxx
index 1c347cc35c8f..c98584bad753 100644
--- a/sd/source/ui/presenter/PresenterPreviewCache.cxx
+++ b/sd/source/ui/presenter/PresenterPreviewCache.cxx
@@ -49,9 +49,7 @@ public:
void RemovePreviewCreationNotifyListener (const Reference<drawing::XSlidePreviewCacheListener>& rxListener);
// CacheContext
- virtual void NotifyPreviewCreation (
- CacheKey aKey,
- const BitmapEx& rPreview) override;
+ virtual void NotifyPreviewCreation (CacheKey aKey) override;
virtual bool IsIdle() override;
virtual bool IsVisible (CacheKey aKey) override;
virtual const SdrPage* GetPage (CacheKey aKey) override;
@@ -246,8 +244,7 @@ void PresenterPreviewCache::PresenterCacheContext::RemovePreviewCreationNotifyLi
//----- CacheContext ----------------------------------------------------------
void PresenterPreviewCache::PresenterCacheContext::NotifyPreviewCreation (
- CacheKey aKey,
- const BitmapEx&)
+ CacheKey aKey)
{
if ( ! mxSlides.is())
return;
diff --git a/sd/source/ui/slidesorter/cache/SlsQueueProcessor.cxx b/sd/source/ui/slidesorter/cache/SlsQueueProcessor.cxx
index 75145ed9afda..59fa862dd89f 100644
--- a/sd/source/ui/slidesorter/cache/SlsQueueProcessor.cxx
+++ b/sd/source/ui/slidesorter/cache/SlsQueueProcessor.cxx
@@ -155,7 +155,7 @@ void QueueProcessor::ProcessOneRequest (
mpCache->SetBitmap (pSdPage, aPreview, ePriorityClass!=NOT_VISIBLE);
// Initiate a repaint of the new preview.
- mpCacheContext->NotifyPreviewCreation(aKey, aPreview);
+ mpCacheContext->NotifyPreviewCreation(aKey);
}
}
}
diff --git a/sd/source/ui/slidesorter/inc/cache/SlsCacheContext.hxx b/sd/source/ui/slidesorter/inc/cache/SlsCacheContext.hxx
index ed2548a80cb3..a662f1983e85 100644
--- a/sd/source/ui/slidesorter/inc/cache/SlsCacheContext.hxx
+++ b/sd/source/ui/slidesorter/inc/cache/SlsCacheContext.hxx
@@ -44,12 +44,8 @@ public:
has been finished.
@param aKey
The key of the page for which the preview has been created.
- @param aPreview
- The newly created preview.
*/
- virtual void NotifyPreviewCreation (
- CacheKey aKey,
- const BitmapEx& rPreview) = 0;
+ virtual void NotifyPreviewCreation (CacheKey aKey) = 0;
/** Called to determine whether the system is idle and a preview can be
created without annoying the user.
diff --git a/sd/source/ui/slidesorter/view/SlsViewCacheContext.cxx b/sd/source/ui/slidesorter/view/SlsViewCacheContext.cxx
index 27ec932f8678..5529d4945eb6 100644
--- a/sd/source/ui/slidesorter/view/SlsViewCacheContext.cxx
+++ b/sd/source/ui/slidesorter/view/SlsViewCacheContext.cxx
@@ -45,9 +45,7 @@ ViewCacheContext::~ViewCacheContext()
{
}
-void ViewCacheContext::NotifyPreviewCreation (
- cache::CacheKey aKey,
- const BitmapEx&)
+void ViewCacheContext::NotifyPreviewCreation(cache::CacheKey aKey)
{
const model::SharedPageDescriptor pDescriptor (GetDescriptor(aKey));
if (pDescriptor.get() != nullptr)
diff --git a/sd/source/ui/slidesorter/view/SlsViewCacheContext.hxx b/sd/source/ui/slidesorter/view/SlsViewCacheContext.hxx
index 62f1074f8d1d..27323dc77eaf 100644
--- a/sd/source/ui/slidesorter/view/SlsViewCacheContext.hxx
+++ b/sd/source/ui/slidesorter/view/SlsViewCacheContext.hxx
@@ -41,7 +41,7 @@ class ViewCacheContext : public cache::CacheContext
public:
explicit ViewCacheContext (SlideSorter& rSlideSorter);
virtual ~ViewCacheContext() override;
- virtual void NotifyPreviewCreation (cache::CacheKey aKey, const BitmapEx& rPreview) override;
+ virtual void NotifyPreviewCreation (cache::CacheKey aKey) override;
virtual bool IsIdle() override;
virtual bool IsVisible (cache::CacheKey aKey) override;
virtual const SdrPage* GetPage (cache::CacheKey aKey) override;