summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/core/xmluconv.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/core/xmluconv.cxx b/xmloff/source/core/xmluconv.cxx
index 7aaa01c25d8e..6e8670d4d4d2 100644
--- a/xmloff/source/core/xmluconv.cxx
+++ b/xmloff/source/core/xmluconv.cxx
@@ -438,7 +438,7 @@ bool SvXMLUnitConverter::convertDateTime( double& fDateTime,
if (bSuccess)
{
const Date aTmpNullDate(aTempNullDate.Day, aTempNullDate.Month, aTempNullDate.Year);
- const Date aTempDate((sal_uInt16)aDateTime.Day, (sal_uInt16)aDateTime.Month, (sal_uInt16)aDateTime.Year);
+ const Date aTempDate(aDateTime.Day, aDateTime.Month, aDateTime.Year);
const sal_Int32 nTage = aTempDate - aTmpNullDate;
double fTempDateTime = nTage;
double Hour = aDateTime.Hours;