summaryrefslogtreecommitdiffstats
path: root/connectivity/source/drivers/file/FDateFunctions.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/file/FDateFunctions.cxx')
-rw-r--r--connectivity/source/drivers/file/FDateFunctions.cxx2
1 files changed, 1 insertions, 1 deletions
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<sal_Int16>(aD.Year);
+ return aD.Year;
}
ORowSetValue OOp_Hour::operate(const ORowSetValue& lhs) const