diff options
author | Noel Grandin <noel@peralex.com> | 2016-01-19 15:17:30 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-01-20 08:13:51 +0000 |
commit | 4ff5a5558472beee85eb1234dcc2aa2ed9000f6c (patch) | |
tree | b2a0a83933064b7a22db0e27c0a3d8b7339053de /connectivity | |
parent | 3179e8f7e6ce550bbe766ed730e68b0374944dd5 (diff) |
loplugin:unusedmethods
Change-Id: Ib2dc804f55d1a96ae01f2cf31b7d55956040a72e
Reviewed-on: https://gerrit.libreoffice.org/21603
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'connectivity')
4 files changed, 1 insertions, 24 deletions
diff --git a/connectivity/source/drivers/firebird/ResultSet.hxx b/connectivity/source/drivers/firebird/ResultSet.hxx index c60a0a8fbc78..dd9a89704f36 100644 --- a/connectivity/source/drivers/firebird/ResultSet.hxx +++ b/connectivity/source/drivers/firebird/ResultSet.hxx @@ -128,11 +128,6 @@ namespace connectivity isc_stmt_handle& aStatementHandle, XSQLDA* aSqlda); - ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > operator *() - { - return ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >(*static_cast<OResultSet_BASE*>(this)); - } - // XInterface virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& rType) diff --git a/connectivity/source/drivers/jdbc/DriverPropertyInfo.cxx b/connectivity/source/drivers/jdbc/DriverPropertyInfo.cxx index 16d46f5efcc4..12e33af13cfa 100644 --- a/connectivity/source/drivers/jdbc/DriverPropertyInfo.cxx +++ b/connectivity/source/drivers/jdbc/DriverPropertyInfo.cxx @@ -48,18 +48,6 @@ jclass java_sql_DriverPropertyInfo::getMyClass() const } -java_sql_DriverPropertyInfo::operator css::sdbc::DriverPropertyInfo() -{ - css::sdbc::DriverPropertyInfo aInfo; - aInfo.Name = name(); - aInfo.Description = description(); - aInfo.IsRequired = required(); - aInfo.Value = value(); - aInfo.Choices = choices(); - - return aInfo; -} - OUString java_sql_DriverPropertyInfo::name() { OUString aStr; diff --git a/connectivity/source/inc/file/FResultSet.hxx b/connectivity/source/inc/file/FResultSet.hxx index 0eaeedd03359..f773f6639202 100644 --- a/connectivity/source/inc/file/FResultSet.hxx +++ b/connectivity/source/inc/file/FResultSet.hxx @@ -163,11 +163,6 @@ namespace connectivity // a Constructor, that is needed for when Returning the Object is needed: OResultSet( OStatement_Base* pStmt,connectivity::OSQLParseTreeIterator& _aSQLIterator); - ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > operator *() - { - return ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >(*static_cast<OResultSet_BASE*>(this)); - } - // ::cppu::OComponentHelper virtual void SAL_CALL disposing() override; // XInterface diff --git a/connectivity/source/inc/java/sql/DriverPropertyInfo.hxx b/connectivity/source/inc/java/sql/DriverPropertyInfo.hxx index ae3bd12db559..3380ef5bd05c 100644 --- a/connectivity/source/inc/java/sql/DriverPropertyInfo.hxx +++ b/connectivity/source/inc/java/sql/DriverPropertyInfo.hxx @@ -39,13 +39,12 @@ namespace connectivity virtual ~java_sql_DriverPropertyInfo(); // A ctor that is needed for returning the object java_sql_DriverPropertyInfo( JNIEnv * pEnv, jobject myObj ) : java_lang_Object( pEnv, myObj ){} - operator ::com::sun::star::sdbc::DriverPropertyInfo(); OUString name(); OUString description(); OUString value(); bool required(); - ::com::sun::star::uno::Sequence< OUString> choices(); + ::com::sun::star::uno::Sequence< OUString> choices(); }; } |