diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-10-14 16:57:58 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-10-16 14:19:24 +0000 |
commit | b9ed8dd02ac1435e6a02afbbbe789d29d965364a (patch) | |
tree | 0806abdc3fcbeba2fd2bb6d4cd69e65b08144457 /connectivity/source/drivers/ado/ATables.cxx | |
parent | 2b326037931e5e98f543cdaa003606fc4fb9b43b (diff) |
clang-cl loplugin: connectivity
Change-Id: I025cf2ad63f08bb58d54983982d7a116fac0ffea
Reviewed-on: https://gerrit.libreoffice.org/29874
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'connectivity/source/drivers/ado/ATables.cxx')
-rw-r--r-- | connectivity/source/drivers/ado/ATables.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/connectivity/source/drivers/ado/ATables.cxx b/connectivity/source/drivers/ado/ATables.cxx index 1e79e0a4ffef..bc3e9883578b 100644 --- a/connectivity/source/drivers/ado/ATables.cxx +++ b/connectivity/source/drivers/ado/ATables.cxx @@ -64,8 +64,8 @@ Reference< XPropertySet > OTables::createDescriptor() // XAppend sdbcx::ObjectType OTables::appendObject( const OUString&, const Reference< XPropertySet >& descriptor ) { - OAdoTable* pTable = NULL; - if ( !getImplementation( pTable, descriptor ) || pTable == NULL ) + OAdoTable* pTable = nullptr; + if ( !getImplementation( pTable, descriptor ) || pTable == nullptr ) m_pCatalog->getConnection()->throwGenericSQLException( STR_INVALID_TABLE_DESCRIPTOR_ERROR,static_cast<XTypeProvider*>(this) ); OSL_ENSURE(m_aCollection.IsValid(),"Collection isn't valid"); @@ -89,7 +89,7 @@ void OTables::appendNew(const OUString& _rsNewTable) OSL_ENSURE(m_aCollection.IsValid(),"Collection isn't valid"); m_aCollection.Refresh(); - insertElement(_rsNewTable,NULL); + insertElement(_rsNewTable,nullptr); // notify our container listeners ContainerEvent aEvent(static_cast<XContainer*>(this), makeAny(_rsNewTable), Any(), Any()); |