diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:26:16 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:31:54 +0100 |
commit | 175e2adfd1677cb83373b0ba47853493f3b77859 (patch) | |
tree | 8509fc88a7b4875ece2b50530e35bef17d9d4d29 /toolkit/source/controls/accessiblecontrolcontext.cxx | |
parent | a9b4c9ca3df362cbe0f7904003197bcadd607215 (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: Ied9204441c07f1f6a6026c8c1a2fa21b93b98e1a
Diffstat (limited to 'toolkit/source/controls/accessiblecontrolcontext.cxx')
-rw-r--r-- | toolkit/source/controls/accessiblecontrolcontext.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/toolkit/source/controls/accessiblecontrolcontext.cxx b/toolkit/source/controls/accessiblecontrolcontext.cxx index 3c23acff6f89..33e99cebdd3e 100644 --- a/toolkit/source/controls/accessiblecontrolcontext.cxx +++ b/toolkit/source/controls/accessiblecontrolcontext.cxx @@ -86,7 +86,7 @@ namespace toolkit OAccessibleControlContext* OAccessibleControlContext::create( const Reference< XAccessible >& _rxCreator ) { - OAccessibleControlContext* pNew = NULL; + OAccessibleControlContext* pNew = nullptr; try { pNew = new OAccessibleControlContext; @@ -164,7 +164,7 @@ namespace toolkit Reference< XAccessibleRelationSet > SAL_CALL OAccessibleControlContext::getAccessibleRelationSet( ) throw (RuntimeException, std::exception) { - return NULL; + return nullptr; } @@ -173,7 +173,7 @@ namespace toolkit ::osl::MutexGuard aGuard( GetMutex() ); // no OContextEntryGuard here, as we do not want to throw an exception in case we're not alive anymore - ::utl::AccessibleStateSetHelper* pStateSet = NULL; + ::utl::AccessibleStateSetHelper* pStateSet = nullptr; if ( isAlive() ) { // no own states, only the ones which are foreign controlled @@ -264,7 +264,7 @@ namespace toolkit // ugly, but .... though the XWindow has a getPosSize, it is impossible to determine the // parent which this position/size is relative to. This means we must tunnel UNO and ask the // implementation - vcl::Window* pVCLParent = pVCLWindow ? pVCLWindow->GetParent() : NULL; + vcl::Window* pVCLParent = pVCLWindow ? pVCLWindow->GetParent() : nullptr; // the relative location of the window ::Point aWindowRelativePos( 0, 0); @@ -300,7 +300,7 @@ namespace toolkit Reference< XAccessible > SAL_CALL OAccessibleControlContext::getAccessibleAtPoint( const awt::Point& /* _rPoint */ ) throw (RuntimeException, std::exception) { // no children at all - return NULL; + return nullptr; } |