summaryrefslogtreecommitdiff
path: root/sdext/source/presenter/PresenterPaneFactory.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sdext/source/presenter/PresenterPaneFactory.cxx')
-rw-r--r--sdext/source/presenter/PresenterPaneFactory.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sdext/source/presenter/PresenterPaneFactory.cxx b/sdext/source/presenter/PresenterPaneFactory.cxx
index 94f6335cdd79..8160b9431745 100644
--- a/sdext/source/presenter/PresenterPaneFactory.cxx
+++ b/sdext/source/presenter/PresenterPaneFactory.cxx
@@ -119,7 +119,7 @@ void SAL_CALL PresenterPaneFactory::disposing()
mxConfigurationControllerWeak = WeakReference<XConfigurationController>();
// Dispose the panes in the cache.
- if (mpResourceCache.get() != nullptr)
+ if (mpResourceCache != nullptr)
{
ResourceContainer::const_iterator iPane (mpResourceCache->begin());
ResourceContainer::const_iterator iEnd (mpResourceCache->end());
@@ -147,7 +147,7 @@ Reference<XResource> SAL_CALL PresenterPaneFactory::createResource (
if (sPaneURL.isEmpty())
return nullptr;
- if (mpResourceCache.get() != nullptr)
+ if (mpResourceCache != nullptr)
{
// Has the requested resource already been created?
ResourceContainer::const_iterator iResource (mpResourceCache->find(sPaneURL));
@@ -194,7 +194,7 @@ void SAL_CALL PresenterPaneFactory::releaseResource (const Reference<XResource>&
if (pDescriptor->mxBorderWindow.is())
pDescriptor->mxBorderWindow->setVisible(false);
- if (mpResourceCache.get() != nullptr)
+ if (mpResourceCache != nullptr)
{
// Store the pane in the cache.
(*mpResourceCache)[sPaneURL] = rxResource;