diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2017-07-26 21:09:02 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-27 08:06:21 +0200 |
commit | d5c8f58aa4485ed26827b69b94a195c78aaab6db (patch) | |
tree | eafb1ba94b9f0e3cdfcaef525a9c520858fc4db7 /svtools/source/table | |
parent | 8ce64dbb3d7875c00963ae257d53f2b7b58fc4ad (diff) |
correct some Date related types
signature of Date and Date::DateToDays is
(sal_uInt16 d, sal_uInt16 m, sal_Int16 y)
same types as css::util::Date members Day, Month and Year
Change-Id: Ifa35574d2d335f7bf816dd5209988f4eaf7c5ac2
Reviewed-on: https://gerrit.libreoffice.org/40462
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools/source/table')
-rw-r--r-- | svtools/source/table/cellvalueconversion.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/table/cellvalueconversion.cxx b/svtools/source/table/cellvalueconversion.cxx index a3c1d12062e0..2f28c3ddc732 100644 --- a/svtools/source/table/cellvalueconversion.cxx +++ b/svtools/source/table/cellvalueconversion.cxx @@ -60,7 +60,7 @@ namespace svt namespace { - double lcl_convertDateToDays( long const i_day, long const i_month, long const i_year ) + double lcl_convertDateToDays( sal_uInt16 const i_day, sal_uInt16 const i_month, sal_Int16 const i_year ) { long const nNullDateDays = ::Date::DateToDays( 1, 1, 1900 ); long const nValueDateDays = ::Date::DateToDays( i_day, i_month, i_year ); |