summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/oleprops.cxx
diff options
context:
space:
mode:
authorMikhail Voytenko <mav@openoffice.org>2011-01-07 17:14:47 +0100
committerMikhail Voytenko <mav@openoffice.org>2011-01-07 17:14:47 +0100
commitdcd8e4664d9a284c24ceb0360cab0606b22cf86d (patch)
tree19c2817590445d01056d62e793f68892eb1b23b4 /sfx2/source/doc/oleprops.cxx
parent71747dd58636847fdfda6b5e4029a78d5e0cccfb (diff)
removetooltypes: #i112600# remove tooltypes
Diffstat (limited to 'sfx2/source/doc/oleprops.cxx')
-rwxr-xr-xsfx2/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 d6192542d1a1..2e0df56ba141 100755
--- a/sfx2/source/doc/oleprops.cxx
+++ b/sfx2/source/doc/oleprops.cxx
@@ -590,14 +590,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