From 7662e92c64ec194a2089f633a363d9dc45a4aa9d Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 6 Apr 2017 08:59:07 +0200 Subject: loplugin:redundantcast find cstyle double casts Change-Id: I5507be190dac781e5cdb545a60acf3d50056c9f8 Reviewed-on: https://gerrit.libreoffice.org/36187 Tested-by: Jenkins Reviewed-by: Noel Grandin --- dbaccess/source/filter/xml/xmlDataSourceSetting.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dbaccess/source') diff --git a/dbaccess/source/filter/xml/xmlDataSourceSetting.cxx b/dbaccess/source/filter/xml/xmlDataSourceSetting.cxx index 45491d251667..23dc70a7e463 100644 --- a/dbaccess/source/filter/xml/xmlDataSourceSetting.cxx +++ b/dbaccess/source/filter/xml/xmlDataSourceSetting.cxx @@ -214,7 +214,7 @@ Any OXMLDataSourceSetting::convertString(const css::uno::Type& _rExpectedType, c SAL_WARN_IF(!bSuccess, "dbaccess", "OXMLDataSourceSetting::convertString: could not convert \"" << _rReadCharacters << "\" into a double!"); - aReturn <<= (double)nValue; + aReturn <<= nValue; } break; case TypeClass_STRING: -- cgit v1.2.3