summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/oleprops.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/doc/oleprops.cxx')
-rwxr-xr-x[-rw-r--r--]sfx2/source/doc/oleprops.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/sfx2/source/doc/oleprops.cxx b/sfx2/source/doc/oleprops.cxx
index 0f884ab32694..0e6113f94f99 100644..100755
--- a/sfx2/source/doc/oleprops.cxx
+++ b/sfx2/source/doc/oleprops.cxx
@@ -591,14 +591,14 @@ void SfxOleFileTimeProperty::ImplSave( SvStream& rStrm )
{
DateTime aDateTimeUtc(
Date(
- static_cast< USHORT >( maDateTime.Day ),
- static_cast< USHORT >( maDateTime.Month ),
- static_cast< USHORT >( maDateTime.Year ) ),
+ static_cast< sal_uInt16 >( maDateTime.Day ),
+ static_cast< sal_uInt16 >( maDateTime.Month ),
+ static_cast< sal_uInt16 >( maDateTime.Year ) ),
Time(
- static_cast< ULONG >( maDateTime.Hours ),
- static_cast< ULONG >( maDateTime.Minutes ),
- static_cast< ULONG >( maDateTime.Seconds ),
- static_cast< ULONG >( maDateTime.HundredthSeconds ) ) );
+ static_cast< sal_uIntPtr >( maDateTime.Hours ),
+ static_cast< sal_uIntPtr >( maDateTime.Minutes ),
+ static_cast< sal_uIntPtr >( maDateTime.Seconds ),
+ static_cast< sal_uIntPtr >( maDateTime.HundredthSeconds ) ) );
// 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