diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:22:39 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:31:36 +0100 |
commit | de29ac09535d814e4be7e1bf0f10beb9f0f847e3 (patch) | |
tree | 139f75d657cb825622e812254b8b7df4e509140b /sc/source/ui/Accessibility/AccessibleCsvControl.cxx | |
parent | 60c40af090e420a8619b5236bde1ff4ef79100c6 (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: I765d2a600f9c57da50c85354688e3ae796750d94
Diffstat (limited to 'sc/source/ui/Accessibility/AccessibleCsvControl.cxx')
-rw-r--r-- | sc/source/ui/Accessibility/AccessibleCsvControl.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sc/source/ui/Accessibility/AccessibleCsvControl.cxx b/sc/source/ui/Accessibility/AccessibleCsvControl.cxx index 5fb03c99b8fd..d5561f44c028 100644 --- a/sc/source/ui/Accessibility/AccessibleCsvControl.cxx +++ b/sc/source/ui/Accessibility/AccessibleCsvControl.cxx @@ -97,7 +97,7 @@ ScAccessibleCsvControl::~ScAccessibleCsvControl() void SAL_CALL ScAccessibleCsvControl::disposing() { SolarMutexGuard aGuard; - mpControl = NULL; + mpControl = nullptr; ScAccessibleContextBase::disposing(); } @@ -107,7 +107,7 @@ Reference< XAccessible > SAL_CALL ScAccessibleCsvControl::getAccessibleAtPoint( throw( RuntimeException, std::exception ) { ensureAlive(); - return NULL; + return nullptr; } bool SAL_CALL ScAccessibleCsvControl::isVisible() throw( RuntimeException, std::exception ) @@ -176,7 +176,7 @@ Rectangle ScAccessibleCsvControl::GetBoundingBoxOnScreen() const throw( RuntimeE { SolarMutexGuard aGuard; ensureAlive(); - return implGetControl().GetWindowExtentsRelative( NULL ); + return implGetControl().GetWindowExtentsRelative( nullptr ); } Rectangle ScAccessibleCsvControl::GetBoundingBox() const throw( RuntimeException, std::exception ) @@ -257,7 +257,7 @@ void ScAccessibleCsvControl::implDispose() Point ScAccessibleCsvControl::implGetAbsPos( const Point& rPos ) const { - return rPos + implGetControl().GetWindowExtentsRelative( NULL ).TopLeft(); + return rPos + implGetControl().GetWindowExtentsRelative( nullptr ).TopLeft(); } // Ruler ====================================================================== @@ -1009,14 +1009,14 @@ Reference< XAccessibleTable > SAL_CALL ScAccessibleCsvGrid::getAccessibleRowHead throw( RuntimeException, std::exception ) { ensureAlive(); - return NULL; + return nullptr; } Reference< XAccessibleTable > SAL_CALL ScAccessibleCsvGrid::getAccessibleColumnHeaders() throw( RuntimeException, std::exception ) { ensureAlive(); - return NULL; + return nullptr; } Sequence< sal_Int32 > SAL_CALL ScAccessibleCsvGrid::getSelectedAccessibleRows() @@ -1073,14 +1073,14 @@ Reference< XAccessible > SAL_CALL ScAccessibleCsvGrid::getAccessibleCaption() throw( RuntimeException, std::exception ) { ensureAlive(); - return NULL; + return nullptr; } Reference< XAccessible > SAL_CALL ScAccessibleCsvGrid::getAccessibleSummary() throw( RuntimeException, std::exception ) { ensureAlive(); - return NULL; + return nullptr; } sal_Bool SAL_CALL ScAccessibleCsvGrid::isAccessibleSelected( sal_Int32 /* nRow */, sal_Int32 nColumn ) |