summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/helpinterceptor.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:23:17 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:38 +0100
commit28034eaf925aa50d379dd5cffccc20d7edc95aec (patch)
tree5cde1f141bc0ffc5cb04a12980d0c4bce69de0f0 /sfx2/source/appl/helpinterceptor.cxx
parentd930b6c2e6e3dfb9e1ed19b84a3137cc0cfbfd8c (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: I7213b49b09ddcb00841aa5f63343baeab0e65fa4
Diffstat (limited to 'sfx2/source/appl/helpinterceptor.cxx')
-rw-r--r--sfx2/source/appl/helpinterceptor.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sfx2/source/appl/helpinterceptor.cxx b/sfx2/source/appl/helpinterceptor.cxx
index b25d28b4cd86..db7d2831b90a 100644
--- a/sfx2/source/appl/helpinterceptor.cxx
+++ b/sfx2/source/appl/helpinterceptor.cxx
@@ -38,8 +38,8 @@ using namespace ::com::sun::star::lang;
HelpInterceptor_Impl::HelpInterceptor_Impl() :
- m_pHistory ( NULL ),
- m_pWindow ( NULL ),
+ m_pHistory ( nullptr ),
+ m_pWindow ( nullptr ),
m_nCurPos ( 0 )
{
@@ -278,7 +278,7 @@ void SAL_CALL HelpInterceptor_Impl::addStatusListener(
void SAL_CALL HelpInterceptor_Impl::removeStatusListener(
const Reference< XStatusListener >&, const URL&) throw( RuntimeException, std::exception )
{
- m_xListener = 0;
+ m_xListener = nullptr;
}
// HelpListener_Impl -----------------------------------------------------
@@ -305,7 +305,7 @@ void SAL_CALL HelpListener_Impl::disposing( const css::lang::EventObject& )
throw( css::uno::RuntimeException, std::exception )
{
pInterceptor->removeStatusListener( this, css::util::URL() );
- pInterceptor = NULL;
+ pInterceptor = nullptr;
}
HelpStatusListener_Impl::HelpStatusListener_Impl(
@@ -329,7 +329,7 @@ void HelpStatusListener_Impl::statusChanged(
void HelpStatusListener_Impl::disposing( const EventObject& ) throw( RuntimeException, std::exception )
{
xDispatch->removeStatusListener(this, css::util::URL());
- xDispatch = 0;
+ xDispatch = nullptr;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */