diff options
Diffstat (limited to 'tools/source/datetime/ttime.cxx')
-rw-r--r-- | tools/source/datetime/ttime.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/source/datetime/ttime.cxx b/tools/source/datetime/ttime.cxx index 0209c9559089..9d12bb9208e7 100644 --- a/tools/source/datetime/ttime.cxx +++ b/tools/source/datetime/ttime.cxx @@ -368,7 +368,7 @@ Time tools::Time::GetUTCOffset() nTempTime += aTimeZone.StandardBias; else if ( nTimeZoneRet == TIME_ZONE_ID_DAYLIGHT ) nTempTime += aTimeZone.DaylightBias; - tools::Time aTime( 0, (sal_uInt16)abs( nTempTime ) ); + tools::Time aTime( 0, static_cast<sal_uInt16>(abs( nTempTime )) ); if ( nTempTime > 0 ) aTime = -aTime; return aTime; |