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 <sberg...@redhat.com>
AuthorDate: Fri Feb 19 21:57:17 2021 +0100
Commit:     Stephan Bergmann <sberg...@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 <sberg...@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 );
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to