diff options
Diffstat (limited to 'mysqlc')
-rw-r--r-- | mysqlc/source/mysqlc_resultset.hxx | 5 | ||||
-rw-r--r-- | mysqlc/source/mysqlc_resultsetmetadata.hxx | 4 |
2 files changed, 0 insertions, 9 deletions
diff --git a/mysqlc/source/mysqlc_resultset.hxx b/mysqlc/source/mysqlc_resultset.hxx index d971461c7a85..ee92fccb3dd0 100644 --- a/mysqlc/source/mysqlc_resultset.hxx +++ b/mysqlc/source/mysqlc_resultset.hxx @@ -104,11 +104,6 @@ namespace connectivity OResultSet( OCommonStatement* pStmt, sql::ResultSet *result, rtl_TextEncoding _encoding ); - css::uno::Reference< css::uno::XInterface > operator *() - { - return css::uno::Reference< css::uno::XInterface >(*static_cast<OResultSet_BASE*>(this)); - } - // ::cppu::OComponentHelper void SAL_CALL disposing() SAL_OVERRIDE; diff --git a/mysqlc/source/mysqlc_resultsetmetadata.hxx b/mysqlc/source/mysqlc_resultsetmetadata.hxx index e79bb9be9422..65ea730264e3 100644 --- a/mysqlc/source/mysqlc_resultsetmetadata.hxx +++ b/mysqlc/source/mysqlc_resultsetmetadata.hxx @@ -56,10 +56,6 @@ namespace connectivity return rtl::OUString( _string.c_str(), _string.size(), m_encoding ); } - /// Avoid ambigous cast error from the compiler. - inline operator css::uno::Reference< css::sdbc::XResultSetMetaData > () throw() - { return this; } - sal_Int32 SAL_CALL getColumnCount() throw(SQLException, RuntimeException, std::exception) SAL_OVERRIDE; sal_Bool SAL_CALL isAutoIncrement(sal_Int32 column) throw(SQLException, RuntimeException, std::exception) SAL_OVERRIDE; |