summaryrefslogtreecommitdiff
path: root/sdext/source/presenter/PresenterViewFactory.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sdext/source/presenter/PresenterViewFactory.cxx')
-rw-r--r--sdext/source/presenter/PresenterViewFactory.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sdext/source/presenter/PresenterViewFactory.cxx b/sdext/source/presenter/PresenterViewFactory.cxx
index 983a17996e6c..f8f8c5ed8e0c 100644
--- a/sdext/source/presenter/PresenterViewFactory.cxx
+++ b/sdext/source/presenter/PresenterViewFactory.cxx
@@ -178,7 +178,7 @@ void SAL_CALL PresenterViewFactory::disposing()
mxConfigurationController->removeResourceFactoryForReference(this);
mxConfigurationController = nullptr;
- if (mpResourceCache.get() != nullptr)
+ if (mpResourceCache != nullptr)
{
// Dispose all views in the cache.
ResourceContainer::const_iterator iView (mpResourceCache->begin());
@@ -243,7 +243,7 @@ void SAL_CALL PresenterViewFactory::releaseResource (const Reference<XResource>&
// Dispose only views that we can not put into the cache.
CachablePresenterView* pView = dynamic_cast<CachablePresenterView*>(rxView.get());
- if (pView == nullptr || mpResourceCache.get()==nullptr)
+ if (pView == nullptr || mpResourceCache == nullptr)
{
try
{
@@ -281,7 +281,7 @@ Reference<XResource> PresenterViewFactory::GetViewFromCache(
const Reference<XResourceId>& rxViewId,
const Reference<XPane>& rxAnchorPane) const
{
- if (mpResourceCache.get() == nullptr)
+ if (mpResourceCache == nullptr)
return nullptr;
try