summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2018-01-06 14:25:13 +1100
committerMichael Stahl <mstahl@redhat.com>2018-02-01 15:31:23 +0100
commit192b2f754cc4f05d84e7da0d18bfa88f21329c15 (patch)
tree8eb3aec371701838093109948d485c9d8a99f014 /connectivity
parent8a29d632319384d593bcdf6ddd92c71bcb6e2511 (diff)
connectivity: remove dead code
Change-Id: Ia968179d90978dc6c737effce5447efda60c1f66 Reviewed-on: https://gerrit.libreoffice.org/47490 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/firebird/ResultSet.cxx16
-rw-r--r--connectivity/source/drivers/firebird/ResultSet.hxx10
2 files changed, 0 insertions, 26 deletions
diff --git a/connectivity/source/drivers/firebird/ResultSet.cxx b/connectivity/source/drivers/firebird/ResultSet.cxx
index 2d440097151e..ed46ecdbad6a 100644
--- a/connectivity/source/drivers/firebird/ResultSet.cxx
+++ b/connectivity/source/drivers/firebird/ResultSet.cxx
@@ -841,22 +841,6 @@ void SAL_CALL OResultSet::cancel( )
}
-//----- XWarningsSupplier UNSUPPORTED -----------------------------------------
-#if 0
-void SAL_CALL OResultSet::clearWarnings() throw(SQLException, RuntimeException, std::exception)
-{
- ::dbtools::throwFunctionNotSupportedSQLException("clearWarnings not supported in firebird",
- *this);
-}
-
-Any SAL_CALL OResultSet::getWarnings() throw(SQLException, RuntimeException, std::exception)
-{
- ::dbtools::throwFunctionNotSupportedSQLException("getWarnings not supported in firebird",
- *this);
- return Any();
-}
-#endif
-
//----- OIdPropertyArrayUsageHelper ------------------------------------------
IPropertyArrayHelper* OResultSet::createArrayHelper() const
{
diff --git a/connectivity/source/drivers/firebird/ResultSet.hxx b/connectivity/source/drivers/firebird/ResultSet.hxx
index a7142451c54b..aa7d2083c762 100644
--- a/connectivity/source/drivers/firebird/ResultSet.hxx
+++ b/connectivity/source/drivers/firebird/ResultSet.hxx
@@ -39,9 +39,6 @@
#include <com/sun/star/sdbc/XResultSet.hpp>
#include <com/sun/star/sdbc/XRow.hpp>
#include <com/sun/star/sdbc/XResultSetMetaDataSupplier.hpp>
-#if 0
-#include <com/sun/star/sdbc/XWarningsSupplier.hpp>
-#endif
namespace connectivity
{
@@ -54,9 +51,6 @@ namespace connectivity
css::sdbc::XRow,
css::sdbc::XResultSetMetaDataSupplier,
css::util::XCancellable,
-#if 0
- css::sdbc::XWarningsSupplier,
-#endif
css::sdbc::XCloseable,
css::sdbc::XColumnLocate,
css::lang::XServiceInfo> OResultSet_BASE;
@@ -188,10 +182,6 @@ namespace connectivity
// XCloseable
virtual void SAL_CALL close( ) override;
// XWarningsSupplier
-#if 0
- virtual css::uno::Any SAL_CALL getWarnings( ) throw(css::sdbc::SQLException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL clearWarnings( ) throw(css::sdbc::SQLException, css::uno::RuntimeException, std::exception) override;
-#endif
// XColumnLocate
virtual sal_Int32 SAL_CALL findColumn(const ::rtl::OUString& columnName) override;