diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:09:45 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:31:15 +0100 |
commit | 3fbe1c814da59a4ed722ee5777bec0c59eb57a25 (patch) | |
tree | 3dc31c1b7bc08976df85aec9339f97082b47b8c0 /accessibility/source/standard/accessiblemenubasecomponent.cxx | |
parent | ebc194c696e5c9b1acf320cfc582b4ab56c14900 (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: I5e94b084c923fa5d9c925630669cf698b34f34ff
Diffstat (limited to 'accessibility/source/standard/accessiblemenubasecomponent.cxx')
-rw-r--r-- | accessibility/source/standard/accessiblemenubasecomponent.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/accessibility/source/standard/accessiblemenubasecomponent.cxx b/accessibility/source/standard/accessiblemenubasecomponent.cxx index 26a62b52b221..06aaeb3f99b3 100644 --- a/accessibility/source/standard/accessiblemenubasecomponent.cxx +++ b/accessibility/source/standard/accessiblemenubasecomponent.cxx @@ -70,7 +70,7 @@ OAccessibleMenuBaseComponent::~OAccessibleMenuBaseComponent() m_pMenu->RemoveEventListener( LINK( this, OAccessibleMenuBaseComponent, MenuEventListener ) ); delete m_pExternalLock; - m_pExternalLock = NULL; + m_pExternalLock = nullptr; } @@ -661,7 +661,7 @@ void OAccessibleMenuBaseComponent::ProcessMenuEvent( const VclMenuEvent& rVclMen { m_pMenu->RemoveEventListener( LINK( this, OAccessibleMenuBaseComponent, MenuEventListener ) ); - m_pMenu = NULL; + m_pMenu = nullptr; // dispose all menu items for ( size_t i = 0; i < m_aAccessibleChildren.size(); ++i ) @@ -705,7 +705,7 @@ void OAccessibleMenuBaseComponent::disposing() { m_pMenu->RemoveEventListener( LINK( this, OAccessibleMenuBaseComponent, MenuEventListener ) ); - m_pMenu = NULL; + m_pMenu = nullptr; // dispose all menu items for ( size_t i = 0; i < m_aAccessibleChildren.size(); ++i ) |