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/postgresql/pq_statement.cxx | |
parent | 047239d5ca229bb8ad85a2d9fcd2ae7b6f35b976 (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: Iefeeb51c2b101c097a8d77a4625f84baf1f2da44
Diffstat (limited to 'connectivity/source/drivers/postgresql/pq_statement.cxx')
-rw-r--r-- | connectivity/source/drivers/postgresql/pq_statement.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_statement.cxx b/connectivity/source/drivers/postgresql/pq_statement.cxx index 1347e2a3761b..57d26df07f97 100644 --- a/connectivity/source/drivers/postgresql/pq_statement.cxx +++ b/connectivity/source/drivers/postgresql/pq_statement.cxx @@ -226,7 +226,7 @@ void Statement::close( ) throw (SQLException, RuntimeException, std::exception) Reference< XCloseable > resultSet; { MutexGuard guard( m_refMutex->mutex ); - m_pSettings = 0; + m_pSettings = nullptr; r = m_connection; m_connection.clear(); @@ -293,7 +293,7 @@ static void raiseSQLException( const Reference< XInterface> & owner, const OString & sql, const char * errorMsg, - const char *errorType = 0 ) + const char *errorType = nullptr ) throw( SQLException ) { OUStringBuffer buf(128); |