diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2021-02-19 21:57:17 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2021-02-19 23:11:41 +0100 |
commit | 52f887612a5dccdca15af0408ad92284277733c5 (patch) | |
tree | caa7a946a22b2d85f5f3ceabde89b274c1c90bed /connectivity | |
parent | 22e89d2ccd3ad3ee1b5ee00aebadd3d5a38fd5dd (diff) |
loplugin:referencecasting (--enable-evolution2)
Change-Id: I7e4470e0713a69ecbae3aebac2129557bd8a16c6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111249
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/evoab2/NResultSet.cxx | 2 | ||||
-rw-r--r-- | connectivity/source/drivers/evoab2/NStatement.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/drivers/evoab2/NResultSet.cxx b/connectivity/source/drivers/evoab2/NResultSet.cxx index a9c73a65b740..8aa42abea884 100644 --- a/connectivity/source/drivers/evoab2/NResultSet.cxx +++ b/connectivity/source/drivers/evoab2/NResultSet.cxx @@ -872,7 +872,7 @@ Reference< XResultSetMetaData > SAL_CALL OEvoabResultSet::getMetaData( ) // the meta data should have been created at construction time ENSURE_OR_THROW( m_xMetaData.is(), "internal error: no meta data" ); - return m_xMetaData.get(); + return m_xMetaData; } // XResultSetMetaDataSupplier Interface Ends diff --git a/connectivity/source/drivers/evoab2/NStatement.hxx b/connectivity/source/drivers/evoab2/NStatement.hxx index a5d739eb14a1..7902e15cf35d 100644 --- a/connectivity/source/drivers/evoab2/NStatement.hxx +++ b/connectivity/source/drivers/evoab2/NStatement.hxx @@ -230,7 +230,7 @@ namespace connectivity::evoab impl_executeQuery_throw( const QueryData& _rData ); css::uno::Reference< css::sdbc::XConnection > - impl_getConnection() { return css::uno::Reference< css::sdbc::XConnection >( m_xConnection.get() ); } + impl_getConnection() { return css::uno::Reference< css::sdbc::XConnection >( m_xConnection ); } OUString impl_getColumnRefColumnName_throw( const ::connectivity::OSQLParseNode& _rColumnRef ); |