diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:11:17 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:31:18 +0100 |
commit | 40c4a086521703e64f7f182d8e07490855cfeb0a (patch) | |
tree | 713a700c6bc2966a3d8376c5c9da661e90fd2c50 /chart2/source/controller/accessibility/AccessibleBase.cxx | |
parent | c40c7a8c364bd8f1d7777e803e5a6b0cfddeaca3 (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: I71de514405bb9bcc746c1ab9633e7fe659888943
Diffstat (limited to 'chart2/source/controller/accessibility/AccessibleBase.cxx')
-rw-r--r-- | chart2/source/controller/accessibility/AccessibleBase.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/chart2/source/controller/accessibility/AccessibleBase.cxx b/chart2/source/controller/accessibility/AccessibleBase.cxx index c14f9da137c2..ad2da3791873 100644 --- a/chart2/source/controller/accessibility/AccessibleBase.cxx +++ b/chart2/source/controller/accessibility/AccessibleBase.cxx @@ -293,7 +293,7 @@ bool AccessibleBase::ImplUpdateChildren() void AccessibleBase::AddChild( AccessibleBase * pChild ) { - OSL_ENSURE( pChild != NULL, "Invalid Child" ); + OSL_ENSURE( pChild != nullptr, "Invalid Child" ); if( pChild ) { ClearableMutexGuard aGuard( GetMutex() ); @@ -467,12 +467,12 @@ void SAL_CALL AccessibleBase::disposing() } // reset pointers - m_aAccInfo.m_pParent = NULL; + m_aAccInfo.m_pParent = nullptr; // invalidate implementation for helper, but keep UNO reference to still // allow a tool to query the DEFUNC state. // Note: The object will be deleted when the last reference is released - m_pStateSetHelper = NULL; + m_pStateSetHelper = nullptr; // attach new empty state set helper to member reference ::utl::AccessibleStateSetHelper * pHelper = new ::utl::AccessibleStateSetHelper(); @@ -739,13 +739,13 @@ awt::Point SAL_CALL AccessibleBase::getLocationOnScreen() { CheckDisposeState(); - if( m_aAccInfo.m_pParent != NULL ) + if( m_aAccInfo.m_pParent != nullptr ) { AccessibleBase * pParent = m_aAccInfo.m_pParent; awt::Point aLocThisRel( getLocation()); awt::Point aUpperLeft; - if( pParent != NULL ) + if( pParent != nullptr ) aUpperLeft = pParent->getLocationOnScreen(); return awt::Point( aUpperLeft.X + aLocThisRel.X, |