diff options
Diffstat (limited to 'sd/source/ui/slidesorter/cache/SlsBitmapCache.hxx')
-rw-r--r-- | sd/source/ui/slidesorter/cache/SlsBitmapCache.hxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sd/source/ui/slidesorter/cache/SlsBitmapCache.hxx b/sd/source/ui/slidesorter/cache/SlsBitmapCache.hxx index 29390abb943f..fe022d4ace48 100644 --- a/sd/source/ui/slidesorter/cache/SlsBitmapCache.hxx +++ b/sd/source/ui/slidesorter/cache/SlsBitmapCache.hxx @@ -24,7 +24,8 @@ class SdrPage; #include <vcl/bitmapex.hxx> #include <osl/mutex.hxx> -#include <memory> +#include <boost/shared_ptr.hpp> +#include <boost/scoped_ptr.hpp> namespace sd { namespace slidesorter { namespace cache { @@ -169,12 +170,12 @@ public: */ void Compress ( const CacheKey& rKey, - const std::shared_ptr<BitmapCompressor>& rpCompressor); + const ::boost::shared_ptr<BitmapCompressor>& rpCompressor); private: mutable ::osl::Mutex maMutex; - std::unique_ptr<CacheBitmapContainer> mpBitmapContainer; + ::boost::scoped_ptr<CacheBitmapContainer> mpBitmapContainer; /** Total size of bytes that are occupied by bitmaps in the cache for whom the slides are currently not inside the visible area. |