[Libreoffice-commits] core.git: connectivity/source
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Fri Feb 19 22:12:24 UTC 2021
connectivity/source/drivers/evoab2/NResultSet.cxx | 2 +-
connectivity/source/drivers/evoab2/NStatement.hxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 52f887612a5dccdca15af0408ad92284277733c5
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Fri Feb 19 21:57:17 2021 +0100
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Fri Feb 19 23:11:41 2021 +0100
loplugin:referencecasting (--enable-evolution2)
Change-Id: I7e4470e0713a69ecbae3aebac2129557bd8a16c6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111249
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
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 );
More information about the Libreoffice-commits
mailing list