diff options
Diffstat (limited to 'sdext/source/presenter/PresenterScreen.cxx')
-rw-r--r-- | sdext/source/presenter/PresenterScreen.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sdext/source/presenter/PresenterScreen.cxx b/sdext/source/presenter/PresenterScreen.cxx index bbb754050e8f..d04e4aff6855 100644 --- a/sdext/source/presenter/PresenterScreen.cxx +++ b/sdext/source/presenter/PresenterScreen.cxx @@ -560,7 +560,7 @@ void PresenterScreen::ShutdownPresenterScreen() xPaneFactoryComponent->dispose(); mxPaneFactory = nullptr; - if (mpPresenterController.get() != nullptr) + if (mpPresenterController) { mpPresenterController->dispose(); mpPresenterController.clear(); @@ -784,7 +784,7 @@ void PresenterScreen::SetupView( aViewDescriptor = iDescriptor->second; // Prepare the pane. - OSL_ASSERT(mpPaneContainer.get() != nullptr); + OSL_ASSERT(mpPaneContainer); mpPaneContainer->PreparePane( xPaneId, rsViewURL, |