diff options
author | Oliver Bolte <obo@openoffice.org> | 2006-07-13 14:17:41 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2006-07-13 14:17:41 +0000 |
commit | 76387c8b0d74413b6013d48e0a4295c9b3a6b844 (patch) | |
tree | ca2a44c5144c1ae0423af24076f63307155217ea /wizards/com/sun | |
parent | ccca8eac743de4ede53fa77717f0f2090d130599 (diff) |
INTEGRATION: CWS dba204a (1.6.22); FILE MERGED
2006/06/02 14:34:31 fs 1.6.22.1: #i6544# senseless default for time fields
Diffstat (limited to 'wizards/com/sun')
-rw-r--r-- | wizards/com/sun/star/wizards/document/DatabaseControl.java | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/wizards/com/sun/star/wizards/document/DatabaseControl.java b/wizards/com/sun/star/wizards/document/DatabaseControl.java index 175add67671a..026188e5fd29 100644 --- a/wizards/com/sun/star/wizards/document/DatabaseControl.java +++ b/wizards/com/sun/star/wizards/document/DatabaseControl.java @@ -4,9 +4,9 @@ * * $RCSfile: DatabaseControl.java,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: vg $ $Date: 2006-04-07 12:37:57 $ + * last change: $Author: obo $ $Date: 2006-07-13 15:17:41 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -204,11 +204,6 @@ public class DatabaseControl extends Control { } else if (icontroltype == FormHandler.SOTEXTBOX){ // com.sun.star.sdbc.DataType.CHAR, com.sun.star.sdbc.DataType.VARCHAR, com.sun.star.sdbc.DataType.LONGVARCHAR } -// else if (CurControlType == cDateBox) -// TODO Why does this not work?: oLocObject.DefaultDate = CurDefaultValue - else if (icontroltype == FormHandler.SOTIMECONTROL) // com.sun.star.sdbc.DataType.DATE, com.sun.star.sdbc.DataType.TIME - xPropertySet.setPropertyValue("DefaultTime", new Integer(3000)); -// TODO: Property TimeFormat? frome where? else if (icontroltype == FormHandler.SOCHECKBOX){ // TODO Why does this not work?: oLocObject.DefautState = CurDefaultValue } |