diff options
-rw-r--r-- | tools/inc/tools/time.hxx | 4 | ||||
-rw-r--r-- | tools/source/datetime/ttime.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tools/inc/tools/time.hxx b/tools/inc/tools/time.hxx index 6a52f2678013..64751af42284 100644 --- a/tools/inc/tools/time.hxx +++ b/tools/inc/tools/time.hxx @@ -66,8 +66,8 @@ public: Time( const ResId & rResId ); Time( sal_Int64 _nTime ) { Time::nTime = _nTime; } Time( const Time& rTime ); - Time( sal_uIntPtr nHour, sal_uIntPtr nMin, - sal_uIntPtr nSec = 0, sal_uIntPtr nNanoSec = 0 ); + Time( sal_uInt32 nHour, sal_uInt32 nMin, + sal_uInt32 nSec = 0, sal_uInt64 nNanoSec = 0 ); void SetTime( sal_Int64 nNewTime ) { nTime = nNewTime; } sal_Int64 GetTime() const { return nTime; } diff --git a/tools/source/datetime/ttime.cxx b/tools/source/datetime/ttime.cxx index b10d08691086..9f1241cfd76b 100644 --- a/tools/source/datetime/ttime.cxx +++ b/tools/source/datetime/ttime.cxx @@ -138,7 +138,7 @@ Time::Time( const Time& rTime ) nTime = rTime.nTime; } -Time::Time( sal_uIntPtr nHour, sal_uIntPtr nMin, sal_uIntPtr nSec, sal_uIntPtr nNanoSec ) +Time::Time( sal_uInt32 nHour, sal_uInt32 nMin, sal_uInt32 nSec, sal_uInt64 nNanoSec ) { // normalize time nSec += nNanoSec / nanoSecInSec; |