diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:12:07 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:31:20 +0100 |
commit | c0bd59c15b4a6e8523693c8a354456b9fadb8832 (patch) | |
tree | 67a35c16019355b6eac3faff74ce63d44eddfa96 /connectivity/source/drivers/calc/CTable.cxx | |
parent | 047239d5ca229bb8ad85a2d9fcd2ae7b6f35b976 (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: Iefeeb51c2b101c097a8d77a4625f84baf1f2da44
Diffstat (limited to 'connectivity/source/drivers/calc/CTable.cxx')
-rw-r--r-- | connectivity/source/drivers/calc/CTable.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/connectivity/source/drivers/calc/CTable.cxx b/connectivity/source/drivers/calc/CTable.cxx index f353db13b07c..acc7a139e61f 100644 --- a/connectivity/source/drivers/calc/CTable.cxx +++ b/connectivity/source/drivers/calc/CTable.cxx @@ -640,10 +640,10 @@ void SAL_CALL OCalcTable::disposing() { OFileTable::disposing(); ::osl::MutexGuard aGuard(m_aMutex); - m_aColumns = NULL; + m_aColumns = nullptr; if ( m_pConnection ) m_pConnection->releaseDoc(); - m_pConnection = NULL; + m_pConnection = nullptr; } @@ -686,7 +686,7 @@ Any SAL_CALL OCalcTable::queryInterface( const Type & rType ) throw(RuntimeExcep Sequence< sal_Int8 > OCalcTable::getUnoTunnelImplementationId() { - static ::cppu::OImplementationId * pId = 0; + static ::cppu::OImplementationId * pId = nullptr; if (! pId) { ::osl::MutexGuard aGuard( ::osl::Mutex::getGlobalMutex() ); |