summaryrefslogtreecommitdiff
path: root/wizards
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2019-06-30 13:11:10 +0200
committerMichael Stahl <Michael.Stahl@cib.de>2019-07-05 11:11:12 +0200
commitd726d525924a1869fd0f0e65504de6596eb40e35 (patch)
tree8ca3bf4de6f3479e084ad2b3a3e8e5745fcbb069 /wizards
parent87215115618de0c12d287a300fc5fde993886089 (diff)
tdf#125953: take CLOB into account in form wizard
Change-Id: Ie08b47c2892b7da8e516447b868067a6231279c2 Reviewed-on: https://gerrit.libreoffice.org/74927 (cherry picked from commit b59f4fe03a7843cde70a56a282b3a5d7a304f39d) Reviewed-on: https://gerrit.libreoffice.org/75056 Tested-by: Jenkins Reviewed-by: Xisco FaulĂ­ <xiscofauli@libreoffice.org> (cherry picked from commit 96d1b176f02f0396544e6c13c170f895b13fdfde) Reviewed-on: https://gerrit.libreoffice.org/75073 Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
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)