[Libreoffice-commits] core.git: tools/inc tools/source

Lionel Elie Mamane lionel at mamane.lu
Fri Apr 19 08:27:40 PDT 2013


 tools/inc/tools/time.hxx        |    4 ++--
 tools/source/datetime/ttime.cxx |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 5df981a2a26106e6283a88fb27e6c6659fe1259d
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date:   Fri Apr 19 17:24:03 2013 +0200

    tools ::Time: change constructor to fixed-length integers
    
    Change-Id: I20180cda1a28f898f487aff605796077d3418be3

diff --git a/tools/inc/tools/time.hxx b/tools/inc/tools/time.hxx
index 6a52f26..64751af 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 b10d086..9f1241c 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;


More information about the Libreoffice-commits mailing list