From 6efffbbfce9c27439f54970f7a569b069ce46eba Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 9 Jan 2020 19:38:32 +0100 Subject: Improve loplugin:redundantcast for sal_Int... vs. ::sal_Int... Change-Id: I1548a76fdc03afee68f1e5c01bc665e616f2edf2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86501 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- connectivity/source/drivers/file/FDateFunctions.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'connectivity') diff --git a/connectivity/source/drivers/file/FDateFunctions.cxx b/connectivity/source/drivers/file/FDateFunctions.cxx index 7d1caa1c9696..5f9d1441859f 100644 --- a/connectivity/source/drivers/file/FDateFunctions.cxx +++ b/connectivity/source/drivers/file/FDateFunctions.cxx @@ -219,7 +219,7 @@ ORowSetValue OOp_Year::operate(const ORowSetValue& lhs) const return lhs; css::util::Date aD = lhs; - return static_cast(aD.Year); + return aD.Year; } ORowSetValue OOp_Hour::operate(const ORowSetValue& lhs) const -- cgit