diff options
author | Oliver Bolte <obo@openoffice.org> | 2006-07-13 14:19:03 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2006-07-13 14:19:03 +0000 |
commit | 0e5d472d484e69a968b60de6bcfb66c490e9c34e (patch) | |
tree | cc6b6287f360f04f19f5b01a8cd3289a46d47e50 /forms/source/component | |
parent | 9e992e97022c3c0e1a42837a46934b4e9fc5d095 (diff) |
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
Diffstat (limited to 'forms/source/component')
-rw-r--r-- | forms/source/component/Time.cxx | 15 |
1 files changed, 3 insertions, 12 deletions
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; } //------------------------------------------------------------------------------ |