summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/jdbc/Clob.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-05-03 08:41:17 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-05-05 20:03:10 +0200
commite756c168c28b54a825bdc7481b47be9a89f7e77e (patch)
tree1e5839e9222c48843582e60f2408af3f36616a22 /connectivity/source/drivers/jdbc/Clob.cxx
parent719c8f44780c2c9c4096c5ea3582fd4b55b095ef (diff)
use [[noreturn]] for these throw helpers
Change-Id: Ia50d6f2be91e830201689cc428e55203eeb41eb0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167035 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'connectivity/source/drivers/jdbc/Clob.cxx')
-rw-r--r--connectivity/source/drivers/jdbc/Clob.cxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/connectivity/source/drivers/jdbc/Clob.cxx b/connectivity/source/drivers/jdbc/Clob.cxx
index 6108981aca89..f7926a2d465a 100644
--- a/connectivity/source/drivers/jdbc/Clob.cxx
+++ b/connectivity/source/drivers/jdbc/Clob.cxx
@@ -120,13 +120,6 @@ sal_Int64 SAL_CALL java_sql_Clob::position( const OUString& searchstr, sal_Int32
sal_Int64 SAL_CALL java_sql_Clob::positionOfClob( const css::uno::Reference< css::sdbc::XClob >& /*pattern*/, sal_Int64 /*start*/ )
{
::dbtools::throwFeatureNotImplementedSQLException( "XClob::positionOfClob", *this );
- // this was put here in CWS warnings01. The previous implementation was defective, as it did ignore
- // the pattern parameter. Since the effort for proper implementation is rather high - we would need
- // to translated pattern into a byte[] -, we defer this functionality for the moment (hey, it was
- // unusable, anyway)
- // 2005-11-15 / #i57457# / frank.schoenheit@sun.com
- return 0;
}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */