diff options
Diffstat (limited to 'sfx2/source/doc/oleprops.cxx')
-rw-r--r-- | sfx2/source/doc/oleprops.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sfx2/source/doc/oleprops.cxx b/sfx2/source/doc/oleprops.cxx index e194db7d2671..da6299168171 100644 --- a/sfx2/source/doc/oleprops.cxx +++ b/sfx2/source/doc/oleprops.cxx @@ -534,14 +534,14 @@ void SfxOleFileTimeProperty::ImplSave( SvStream& rStrm ) { DateTime aDateTimeUtc( Date( - static_cast< sal_uInt16 >( maDateTime.Day ), - static_cast< sal_uInt16 >( maDateTime.Month ), + maDateTime.Day, + maDateTime.Month, static_cast< sal_uInt16 >( maDateTime.Year ) ), tools::Time( - static_cast< sal_uInt16 >( maDateTime.Hours ), - static_cast< sal_uInt16 >( maDateTime.Minutes ), - static_cast< sal_uInt16 >( maDateTime.Seconds ), - static_cast< sal_uInt32 >( maDateTime.NanoSeconds ) ) ); + maDateTime.Hours, + maDateTime.Minutes, + maDateTime.Seconds, + maDateTime.NanoSeconds ) ); // invalid time stamp is not converted to UTC // heuristic to detect editing durations (which we assume to be < 1 year): // check only the year, not the entire date |