From cf9a6e84f5ffc4fe4a8273e8fdb6550b64c78732 Mon Sep 17 00:00:00 2001 From: "Andrzej J.R. Hunt" Date: Fri, 6 Sep 2013 20:55:56 +0100 Subject: [PATCH] Implement set[Float|Double]. (firebird-sdbc) This commit somehow got lost on my old computer, so here it is recreated. Change-Id: Ib4001a21c92976fe0e3dea3778360ff67cbfa3a9 --- connectivity/source/drivers/firebird/ResultSet.cxx | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/connectivity/source/drivers/firebird/ResultSet.cxx b/connectivity/source/drivers/firebird/ResultSet.cxx index a342fb11f2ed..a33460ba23a4 100644 --- a/connectivity/source/drivers/firebird/ResultSet.cxx +++ b/connectivity/source/drivers/firebird/ResultSet.cxx @@ -482,17 +482,13 @@ sal_Int64 SAL_CALL OResultSet::getLong(sal_Int32 columnIndex) float SAL_CALL OResultSet::getFloat(sal_Int32 columnIndex) throw(SQLException, RuntimeException) { - (void) columnIndex; - return 0.0f; // TODO: implement -// return safelyRetrieveValue(columnIndex); + return safelyRetrieveValue< float >(columnIndex); } double SAL_CALL OResultSet::getDouble(sal_Int32 columnIndex) throw(SQLException, RuntimeException) { - (void) columnIndex; - return 0.0; // TODO: implement -// return safelyRetrieveValue(columnIndex); + return safelyRetrieveValue< double >(columnIndex); } // ---- XRow: More complex types ----------------------------------------------