connectivity/source/drivers/firebird/PreparedStatement.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 13de958fc3455934ba74eab00e03f49518567df0
Author: Caolán McNamara <[email protected]>
Date:   Thu Mar 23 16:37:33 2017 +0000

    loplugin:redundantcast toNumericWithoutDecimalPlace returns sal_Int64 
already
    
    Change-Id: Iccb11bb5067d6de06ff8786c0acd1af27ffaf8fd

diff --git a/connectivity/source/drivers/firebird/PreparedStatement.cxx 
b/connectivity/source/drivers/firebird/PreparedStatement.cxx
index dbef990b72f1..8b01f51dc23f 100644
--- a/connectivity/source/drivers/firebird/PreparedStatement.cxx
+++ b/connectivity/source/drivers/firebird/PreparedStatement.cxx
@@ -628,7 +628,7 @@ void SAL_CALL OPreparedStatement::setObjectWithInfo( 
sal_Int32 parameterIndex, c
                         dType);
                 break;
             case SQL_INT64:
-                n64Value = (sal_Int64) toNumericWithoutDecimalPlace(myString);
+                n64Value = toNumericWithoutDecimalPlace(myString);
                 setValue< sal_Int64 >(parameterIndex,
                         n64Value,
                         dType);
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to