diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2013-12-21 10:37:11 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-12-24 00:01:36 +0000 |
commit | d2928f81ed1a58eac9f90382dcfe73ea8c482ed6 (patch) | |
tree | 7670eaa491ccaaf4de5b75dcd32a7bd1f941bd2c /include | |
parent | a9fa817b6876814b6ebc45c2534a769e1fa84cac (diff) |
fdo#72916 correct rounding of time part of DateTime
Change-Id: I135478755f9e5a844119129b470fef8de2cd0409
Reviewed-on: https://gerrit.libreoffice.org/7163
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/connectivity/dbconversion.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/connectivity/dbconversion.hxx b/include/connectivity/dbconversion.hxx index 3fe7c0c011ef..82345b1a00ae 100644 --- a/include/connectivity/dbconversion.hxx +++ b/include/connectivity/dbconversion.hxx @@ -105,7 +105,7 @@ namespace dbtools static ::com::sun::star::util::Date toDate(double dVal, const ::com::sun::star::util::Date& _rNullDate = getStandardDate()); static ::com::sun::star::util::Date toDate(const OUString& _sSQLDate); - static ::com::sun::star::util::Time toTime(double dVal); + static ::com::sun::star::util::Time toTime(double dVal, short nDigits = 9); static ::com::sun::star::util::Time toTime(const OUString& _sSQLDate); static ::com::sun::star::util::DateTime toDateTime(double dVal, const ::com::sun::star::util::Date& _rNullDate = getStandardDate()); static ::com::sun::star::util::DateTime toDateTime(const OUString& _sSQLDate); |