diff options
Diffstat (limited to 'sd/source/ui/slidesorter/inc/cache')
-rw-r--r-- | sd/source/ui/slidesorter/inc/cache/SlsCacheContext.hxx | 4 | ||||
-rw-r--r-- | sd/source/ui/slidesorter/inc/cache/SlsPageCache.hxx | 6 | ||||
-rw-r--r-- | sd/source/ui/slidesorter/inc/cache/SlsPageCacheManager.hxx | 8 |
3 files changed, 9 insertions, 9 deletions
diff --git a/sd/source/ui/slidesorter/inc/cache/SlsCacheContext.hxx b/sd/source/ui/slidesorter/inc/cache/SlsCacheContext.hxx index 3678648b58be..eb4b40520c6b 100644 --- a/sd/source/ui/slidesorter/inc/cache/SlsCacheContext.hxx +++ b/sd/source/ui/slidesorter/inc/cache/SlsCacheContext.hxx @@ -54,7 +54,7 @@ public: /** Called to determine whether the system is idle and a preview can be created without annoying the user. */ - virtual bool IsIdle (void) = 0; + virtual bool IsIdle() = 0; /** This method is used to determine whether a page is currently visible or not. It is called when the cache becomes to large and some @@ -89,7 +89,7 @@ public: same model but have different preview sizes may access previews of each other in order to create fast previews of the previews. */ - virtual ::com::sun::star::uno::Reference<com::sun::star::uno::XInterface> GetModel (void) = 0; + virtual ::com::sun::star::uno::Reference<com::sun::star::uno::XInterface> GetModel() = 0; }; typedef ::boost::shared_ptr<CacheContext> SharedCacheContext; diff --git a/sd/source/ui/slidesorter/inc/cache/SlsPageCache.hxx b/sd/source/ui/slidesorter/inc/cache/SlsPageCache.hxx index 62daa10e03b3..27b8e9e35baf 100644 --- a/sd/source/ui/slidesorter/inc/cache/SlsPageCache.hxx +++ b/sd/source/ui/slidesorter/inc/cache/SlsPageCache.hxx @@ -77,7 +77,7 @@ public: const bool bDoSuperSampling, const SharedCacheContext& rpCacheContext); - ~PageCache (void); + ~PageCache(); void ChangeSize( const Size& rPreviewSize, @@ -148,8 +148,8 @@ public: */ void SetPreciousFlag (const CacheKey aKey, const bool bIsPrecious); - void Pause (void); - void Resume (void); + void Pause(); + void Resume(); private: ::boost::scoped_ptr<GenericPageCache> mpImplementation; diff --git a/sd/source/ui/slidesorter/inc/cache/SlsPageCacheManager.hxx b/sd/source/ui/slidesorter/inc/cache/SlsPageCacheManager.hxx index 7a730034b98a..e6ed624f6032 100644 --- a/sd/source/ui/slidesorter/inc/cache/SlsPageCacheManager.hxx +++ b/sd/source/ui/slidesorter/inc/cache/SlsPageCacheManager.hxx @@ -47,7 +47,7 @@ public: /** Return the one instance of the PageCacheManager class. */ - static ::boost::shared_ptr<PageCacheManager> Instance (void); + static ::boost::shared_ptr<PageCacheManager> Instance(); /** Look up the cache for the given model in which the previews have the specified size. If no such cache exists, then one is created. When @@ -96,7 +96,7 @@ public: those that are not. This is used for example when the high contrast mode is turned on or off. */ - void InvalidateAllCaches (void); + void InvalidateAllCaches(); /** Call this method when a page has been deleted and its preview is not needed anymore. @@ -125,8 +125,8 @@ private: */ const sal_uInt32 mnMaximalRecentlyCacheCount; - PageCacheManager (void); - ~PageCacheManager (void); + PageCacheManager(); + ~PageCacheManager(); class Deleter; friend class Deleter; |