summaryrefslogtreecommitdiff
path: root/sd/source/ui/slidesorter/cache/SlsRequestFactory.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/slidesorter/cache/SlsRequestFactory.cxx')
-rw-r--r--sd/source/ui/slidesorter/cache/SlsRequestFactory.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/slidesorter/cache/SlsRequestFactory.cxx b/sd/source/ui/slidesorter/cache/SlsRequestFactory.cxx
index b18b585196e5..471b8b47147e 100644
--- a/sd/source/ui/slidesorter/cache/SlsRequestFactory.cxx
+++ b/sd/source/ui/slidesorter/cache/SlsRequestFactory.cxx
@@ -38,7 +38,7 @@ void RequestFactory::operator()(
// Add the requests for the visible pages.
aKeys = rpCacheContext->GetEntryList(true);
- if (aKeys.get() != nullptr)
+ if (aKeys != nullptr)
{
std::vector<CacheKey>::const_iterator iKey;
std::vector<CacheKey>::const_iterator iEnd (aKeys->end());
@@ -48,7 +48,7 @@ void RequestFactory::operator()(
// Add the requests for the non-visible pages.
aKeys = rpCacheContext->GetEntryList(false);
- if (aKeys.get() != nullptr)
+ if (aKeys != nullptr)
{
std::vector<CacheKey>::const_iterator iKey;
std::vector<CacheKey>::const_iterator iEnd (aKeys->end());