summaryrefslogtreecommitdiff
path: root/wizards
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2005-12-28 16:16:41 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2005-12-28 16:16:41 +0000
commitc66294aba05dff11c06b5f20b393f68eedef39d8 (patch)
tree81095936673591a45cae358723f224fb59862f7b /wizards
parentffec50256f7a3e064e153aa5595e1ba4727a1576 (diff)
INTEGRATION: CWS dbwizardpp1 (1.7.30); FILE MERGED
2005/12/13 16:46:38 bc 1.7.30.3: #i37223#several changes 2005/12/06 00:47:28 bc 1.7.30.2: RESYNC: (1.7-1.8); FILE MERGED 2005/08/15 15:39:41 bc 1.7.30.1: #i47418# Datatype Boolean added Issue number: Submitted by: Reviewed by:
Diffstat (limited to 'wizards')
-rw-r--r--wizards/com/sun/star/wizards/db/FieldColumn.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/wizards/com/sun/star/wizards/db/FieldColumn.java b/wizards/com/sun/star/wizards/db/FieldColumn.java
index f02ea83d2736..14d34b2c84fb 100644
--- a/wizards/com/sun/star/wizards/db/FieldColumn.java
+++ b/wizards/com/sun/star/wizards/db/FieldColumn.java
@@ -4,9 +4,9 @@
*
* $RCSfile: FieldColumn.java,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: rt $ $Date: 2005-09-09 09:24:15 $
+ * last change: $Author: hr $ $Date: 2005-12-28 17:16:41 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -182,6 +182,7 @@ public class FieldColumn {
FieldType = AnyConverter.toInt(xColPropertySet.getPropertyValue("Type"));
switch (FieldType) {
case DataType.BIT : // == -7;
+ case DataType.BOOLEAN :
// Todo: Look if the defaultvalue has been set in the Datasource
StandardFormatKey = iLogicalFormatKey;
FieldWidth = 5;
@@ -304,6 +305,7 @@ public class FieldColumn {
public Object getDefaultValue() {
switch (FieldType) {
case DataType.BIT : // == -7;
+ case DataType.BOOLEAN:
DefaultValue = (Object) Integer.valueOf("1");
break;