diff options
Diffstat (limited to 'sd/source/ui/framework/factories/PresentationFactory.cxx')
-rw-r--r-- | sd/source/ui/framework/factories/PresentationFactory.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/framework/factories/PresentationFactory.cxx b/sd/source/ui/framework/factories/PresentationFactory.cxx index 16e168dde94e..47ca4653ba6f 100644 --- a/sd/source/ui/framework/factories/PresentationFactory.cxx +++ b/sd/source/ui/framework/factories/PresentationFactory.cxx @@ -144,10 +144,10 @@ void SAL_CALL PresentationFactory::releaseResource ( { ::sd::DrawController* pController = reinterpret_cast<sd::DrawController*>( xTunnel->getSomething(sd::DrawController::getUnoTunnelId())); - if (pController != NULL) + if (pController != nullptr) { ViewShellBase* pBase = pController->GetViewShellBase(); - if (pBase != NULL) + if (pBase != nullptr) SlideShow::Stop( *pBase ); } } |