summaryrefslogtreecommitdiff
path: root/sd/source/ui/slidesorter/inc/cache/SlsPageCacheManager.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/slidesorter/inc/cache/SlsPageCacheManager.hxx')
-rw-r--r--sd/source/ui/slidesorter/inc/cache/SlsPageCacheManager.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sd/source/ui/slidesorter/inc/cache/SlsPageCacheManager.hxx b/sd/source/ui/slidesorter/inc/cache/SlsPageCacheManager.hxx
index 47ce0de0b61f..97e6d426c6e0 100644
--- a/sd/source/ui/slidesorter/inc/cache/SlsPageCacheManager.hxx
+++ b/sd/source/ui/slidesorter/inc/cache/SlsPageCacheManager.hxx
@@ -58,7 +58,7 @@ public:
pointer and the ReleaseCache() method has not been called.
*/
std::shared_ptr<Cache> GetCache (
- DocumentKey pDocument,
+ const DocumentKey& pDocument,
const Size& rPreviewSize);
/** Tell the cache manager to release its own reference to the specified
@@ -82,14 +82,14 @@ public:
the next time.
*/
bool InvalidatePreviewBitmap (
- DocumentKey pDocument,
+ const DocumentKey& pDocument,
const SdrPage* pPage);
/** Invalidate the preview bitmaps for all slides that belong to the
specified document. This is necessary after model changes that
affect e.g. page number fields.
*/
- void InvalidateAllPreviewBitmaps (DocumentKey pDocument);
+ void InvalidateAllPreviewBitmaps (const DocumentKey& pDocument);
/** Invalidate all the caches that are currently in use and destroy
those that are not. This is used for example when the high contrast
@@ -131,7 +131,7 @@ private:
friend class Deleter;
std::shared_ptr<Cache> GetRecentlyUsedCache(
- DocumentKey pDocument,
+ const DocumentKey& pDocument,
const Size& rSize);
/** Add the given cache to the list of recently used caches for the
@@ -148,7 +148,7 @@ private:
*/
void Recycle (
const std::shared_ptr<Cache>& rpCache,
- DocumentKey pDocument,
+ const DocumentKey& pDocument,
const Size& rPreviewSize);
};