summaryrefslogtreecommitdiff
path: root/connectivity/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-03-23 16:37:33 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-03-23 16:37:33 +0000
commit13de958fc3455934ba74eab00e03f49518567df0 (patch)
tree0dfaefb172fbc68ce794672e890a58148e3bdf3d /connectivity/source
parent5013abeb191cdc6f8375f107a4d30abd802547d2 (diff)
loplugin:redundantcast toNumericWithoutDecimalPlace returns sal_Int64 already
Change-Id: Iccb11bb5067d6de06ff8786c0acd1af27ffaf8fd
Diffstat (limited to 'connectivity/source')
-rw-r--r--connectivity/source/drivers/firebird/PreparedStatement.cxx2
1 files changed, 1 insertions, 1 deletions
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);