From 0e5d472d484e69a968b60de6bcfb66c490e9c34e Mon Sep 17 00:00:00 2001 From: Oliver Bolte Date: Thu, 13 Jul 2006 14:19:03 +0000 Subject: INTEGRATION: CWS dba204a (1.20.32); FILE MERGED 2006/07/05 08:00:31 oj 1.20.32.2: RESYNC: (1.20-1.21); FILE MERGED 2006/06/02 14:16:29 fs 1.20.32.1: #i6544# no 'today' / 'now' default value --- forms/source/component/Time.cxx | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) (limited to 'forms/source/component/Time.cxx') diff --git a/forms/source/component/Time.cxx b/forms/source/component/Time.cxx index a1f11d8278ff..6cd21cfe9199 100644 --- a/forms/source/component/Time.cxx +++ b/forms/source/component/Time.cxx @@ -4,9 +4,9 @@ * * $RCSfile: Time.cxx,v $ * - * $Revision: 1.21 $ + * $Revision: 1.22 $ * - * last change: $Author: hr $ $Date: 2006-06-19 12:53:13 $ + * last change: $Author: obo $ $Date: 2006-07-13 15:19:03 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -383,16 +383,7 @@ Any OTimeModel::translateDbColumnToControlValue() //------------------------------------------------------------------------------ Any OTimeModel::getDefaultForReset() const { - Any aValue; - if (m_aDefault.getValueType().getTypeClass() == TypeClass_LONG) - aValue = m_aDefault; - else - { // aktuelles Datum einstellen - ::Time aCurrentTime; - aValue <<= (sal_Int32)aCurrentTime.GetTime(); - } - - return aValue; + return m_aDefault; } //------------------------------------------------------------------------------ -- cgit v1.2.3