diff options
Diffstat (limited to 'sw/source/uibase/uno/unodispatch.cxx')
-rw-r--r-- | sw/source/uibase/uno/unodispatch.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sw/source/uibase/uno/unodispatch.cxx b/sw/source/uibase/uno/unodispatch.cxx index e1b95428eca7..534aea55b09a 100644 --- a/sw/source/uibase/uno/unodispatch.cxx +++ b/sw/source/uibase/uno/unodispatch.cxx @@ -141,9 +141,9 @@ void SwXDispatchProviderInterceptor::disposing( const lang::EventObject& ) uno::Reference< lang::XComponent> xInterceptedComponent(m_xIntercepted, uno::UNO_QUERY); if (xInterceptedComponent.is()) xInterceptedComponent->removeEventListener(static_cast<lang::XEventListener*>(this)); - m_xDispatch = 0; + m_xDispatch = nullptr; } - m_xIntercepted = NULL; + m_xIntercepted = nullptr; } namespace @@ -178,10 +178,10 @@ void SwXDispatchProviderInterceptor::Invalidate() uno::Reference< lang::XComponent> xInterceptedComponent(m_xIntercepted, uno::UNO_QUERY); if (xInterceptedComponent.is()) xInterceptedComponent->removeEventListener(static_cast<lang::XEventListener*>(this)); - m_xDispatch = 0; + m_xDispatch = nullptr; } - m_xIntercepted = NULL; - m_pView = 0; + m_xIntercepted = nullptr; + m_pView = nullptr; } SwXDispatch::SwXDispatch(SwView& rVw) : @@ -380,7 +380,7 @@ void SwXDispatch::disposing( const lang::EventObject& rSource ) throw(uno::Runti StatusStruct_Impl aStatus = *aListIter; aStatus.xListener->disposing(aObject); } - m_pView = 0; + m_pView = nullptr; } const sal_Char* SwXDispatch::GetDBChangeURL() |