summaryrefslogtreecommitdiffstats
path: root/sd/source/ui/slidesorter/cache/SlsCacheCompactor.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/slidesorter/cache/SlsCacheCompactor.cxx')
-rw-r--r--sd/source/ui/slidesorter/cache/SlsCacheCompactor.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/sd/source/ui/slidesorter/cache/SlsCacheCompactor.cxx b/sd/source/ui/slidesorter/cache/SlsCacheCompactor.cxx
index e1a9bf2cce37..ffd793c62d4c 100644
--- a/sd/source/ui/slidesorter/cache/SlsCacheCompactor.cxx
+++ b/sd/source/ui/slidesorter/cache/SlsCacheCompactor.cxx
@@ -99,7 +99,7 @@ private:
namespace sd { namespace slidesorter { namespace cache {
-
+SAL_WNODEPRECATED_DECLARATIONS_PUSH
::std::auto_ptr<CacheCompactor> CacheCompactor::Create (
BitmapCache& rCache,
sal_Int32 nMaximalCacheSize)
@@ -138,6 +138,7 @@ namespace sd { namespace slidesorter { namespace cache {
return pCompactor;
}
+SAL_WNODEPRECATED_DECLARATIONS_POP
@@ -218,8 +219,10 @@ void CacheCompactionByCompression::Run (void)
mrCache.GetSize(), mnMaximalCacheSize);
#endif
+ SAL_WNODEPRECATED_DECLARATIONS_PUSH
::std::auto_ptr< ::sd::slidesorter::cache::BitmapCache::CacheIndex> pIndex (
mrCache.GetCacheIndex(false,false));
+ SAL_WNODEPRECATED_DECLARATIONS_POP
::sd::slidesorter::cache::BitmapCache::CacheIndex::iterator iIndex;
for (iIndex=pIndex->begin(); iIndex!=pIndex->end(); ++iIndex)
{