summaryrefslogtreecommitdiff
path: root/tools/source
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-10-06 15:04:16 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-10-06 15:04:16 +0000
commitb5fd011f8d23cb2396030a633864e7d39a27da16 (patch)
treef3d7c368a243f0c2654d1632eda345c9504b27ea /tools/source
parent2e73f9be685e323d48dbcad275a5326cb664050e (diff)
INTEGRATION: CWS net2003 (1.3.54); FILE MERGED
2003/08/13 08:48:51 obo 1.3.54.1: #11136# .net 2003
Diffstat (limited to 'tools/source')
-rw-r--r--tools/source/datetime/datetime.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/source/datetime/datetime.cxx b/tools/source/datetime/datetime.cxx
index 442db222549d..6351bf270f82 100644
--- a/tools/source/datetime/datetime.cxx
+++ b/tools/source/datetime/datetime.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: datetime.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: hr $ $Date: 2003-03-27 17:03:56 $
+ * last change: $Author: vg $ $Date: 2003-10-06 16:04:16 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -173,7 +173,7 @@ ULONG DateTime::GetSecFromDateTime( const Date& rDate ) const
return 0;
else
{
- ULONG nSec = *this-rDate;
+ ULONG nSec = *this- (DateTime) rDate;
nSec *= 24UL*60*60;
long nHour = GetHour();
long nMin = GetMin();