diff options
Diffstat (limited to 'sd/source/ui/presenter/PresenterPreviewCache.cxx')
-rw-r--r-- | sd/source/ui/presenter/PresenterPreviewCache.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/presenter/PresenterPreviewCache.cxx b/sd/source/ui/presenter/PresenterPreviewCache.cxx index 42617e9bd133..b62794a7e929 100644 --- a/sd/source/ui/presenter/PresenterPreviewCache.cxx +++ b/sd/source/ui/presenter/PresenterPreviewCache.cxx @@ -277,7 +277,7 @@ const SdrPage* PresenterPreviewCache::PresenterCacheContext::GetPage (CacheKey a std::shared_ptr<std::vector<CacheKey> > PresenterPreviewCache::PresenterCacheContext::GetEntryList (bool bVisible) { - std::shared_ptr<std::vector<CacheKey> > pKeys (new std::vector<CacheKey>); + auto pKeys = std::make_shared<std::vector<CacheKey>>(); if ( ! mxSlides.is()) return pKeys; |