summaryrefslogtreecommitdiff
path: root/wizards
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2019-06-30 13:11:10 +0200
committerJulien Nabet <serval2412@yahoo.fr>2019-07-03 17:38:48 +0200
commitb59f4fe03a7843cde70a56a282b3a5d7a304f39d (patch)
tree1ecbb550494ddd45f819bce00cca7b6ad35daa30 /wizards
parent5322663f8234836a6a4aaaed025c158fd7e8b67a (diff)
tdf#125953: take CLOB into account in form wizard
Change-Id: Ie08b47c2892b7da8e516447b868067a6231279c2 Reviewed-on: https://gerrit.libreoffice.org/74927 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'wizards')
-rw-r--r--wizards/com/sun/star/wizards/document/FormHandler.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/wizards/com/sun/star/wizards/document/FormHandler.java b/wizards/com/sun/star/wizards/document/FormHandler.java
index cae352f2b9ef..6ff44ceb3a47 100644
--- a/wizards/com/sun/star/wizards/document/FormHandler.java
+++ b/wizards/com/sun/star/wizards/document/FormHandler.java
@@ -114,7 +114,7 @@ public class FormHandler
sModelServices[SOGRIDCONTROL] = "com.sun.star.form.component.GridControl";
sModelServices[SOIMAGECONTROL] = "com.sun.star.form.component.DatabaseImageControl";
- oControlData = new ControlData[22];
+ oControlData = new ControlData[23];
oControlData[0] = createControlData(DataType.BIT, SOCHECKBOX, CHECKBOX);
oControlData[1] = createControlData(DataType.BOOLEAN, SOCHECKBOX, CHECKBOX);
oControlData[2] = createControlData(DataType.TINYINT, SONUMERICCONTROL, FORMATTEDFIELD);
@@ -136,8 +136,9 @@ public class FormHandler
oControlData[18] = createControlData(DataType.VARBINARY, SOIMAGECONTROL, TEXTFIELD);
oControlData[19] = createControlData(DataType.LONGVARBINARY, SOIMAGECONTROL, TEXTFIELD);
oControlData[20] = createControlData(DataType.BLOB, SOIMAGECONTROL, TEXTFIELD);
+ oControlData[21] = createControlData(DataType.CLOB, SOIMAGECONTROL, TEXTFIELD);
- oControlData[21] = createControlData(DataType.OTHER, SOIMAGECONTROL, TEXTFIELD);
+ oControlData[22] = createControlData(DataType.OTHER, SOIMAGECONTROL, TEXTFIELD);
}
public int getControlType(int _fieldtype)