summaryrefslogtreecommitdiff
path: root/sdext/source/presenter/PresenterProtocolHandler.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sdext/source/presenter/PresenterProtocolHandler.cxx')
-rw-r--r--sdext/source/presenter/PresenterProtocolHandler.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sdext/source/presenter/PresenterProtocolHandler.cxx b/sdext/source/presenter/PresenterProtocolHandler.cxx
index 953a7821adf2..f25e7255cd3f 100644
--- a/sdext/source/presenter/PresenterProtocolHandler.cxx
+++ b/sdext/source/presenter/PresenterProtocolHandler.cxx
@@ -341,7 +341,7 @@ Reference<frame::XDispatch> PresenterProtocolHandler::Dispatch::Create (
const ::rtl::Reference<PresenterController>& rpPresenterController)
{
::rtl::Reference<Dispatch> pDispatch (new Dispatch (rsURLPath, rpPresenterController));
- if (pDispatch->mpCommand.get() != nullptr)
+ if (pDispatch->mpCommand != nullptr)
return Reference<frame::XDispatch>(pDispatch.get());
else
return nullptr;
@@ -357,7 +357,7 @@ PresenterProtocolHandler::Dispatch::Dispatch (
maStatusListenerContainer(),
mbIsListeningToWindowManager(false)
{
- if (mpCommand.get() != nullptr)
+ if (mpCommand != nullptr)
{
mpPresenterController->GetWindowManager()->AddLayoutListener(this);
mbIsListeningToWindowManager = true;
@@ -438,7 +438,7 @@ void SAL_CALL PresenterProtocolHandler::Dispatch::dispatch(
throw RuntimeException();
}
- if (mpCommand.get() != nullptr)
+ if (mpCommand != nullptr)
mpCommand->Execute();
}