diff options
author | Arkadiy Illarionov <qarkai@gmail.com> | 2019-06-22 00:17:00 +0300 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-06-24 09:09:50 +0200 |
commit | 3d4b1c0eee7a3055e67df6b0b342ea25b0f5bf55 (patch) | |
tree | e2031c475a09c591548a60e1136371ed5556b8d4 /connectivity/source/drivers/ado/AGroups.cxx | |
parent | aed859c4825e10f0981686b9d8476538255b666f (diff) |
tdf#39593 Change comphelper::getImplementation signature
To merge with comphelper::getUnoTunnelImplementation
Change-Id: I976d768d7fb159d50fa90e27ec36f2bea91ea2cb
Reviewed-on: https://gerrit.libreoffice.org/74542
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'connectivity/source/drivers/ado/AGroups.cxx')
-rw-r--r-- | connectivity/source/drivers/ado/AGroups.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/drivers/ado/AGroups.cxx b/connectivity/source/drivers/ado/AGroups.cxx index 80d23e20f9dc..506aead14f7d 100644 --- a/connectivity/source/drivers/ado/AGroups.cxx +++ b/connectivity/source/drivers/ado/AGroups.cxx @@ -57,8 +57,8 @@ Reference< XPropertySet > OGroups::createDescriptor() // XAppend sdbcx::ObjectType OGroups::appendObject( const OUString& _rForName, const Reference< XPropertySet >& descriptor ) { - OAdoGroup* pGroup = nullptr; - if ( !getImplementation(pGroup,descriptor) || pGroup == nullptr ) + OAdoGroup* pGroup = getImplementation<OAdoGroup>(descriptor); + if ( pGroup == nullptr ) m_pCatalog->getConnection()->throwGenericSQLException( STR_INVALID_GROUP_DESCRIPTOR_ERROR,static_cast<XTypeProvider*>(this) ); m_aCollection.Append( pGroup->getImpl() ); |