wizards/com/sun/star/wizards/document/FormHandler.java |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit b59f4fe03a7843cde70a56a282b3a5d7a304f39d
Author:     Julien Nabet <serval2...@yahoo.fr>
AuthorDate: Sun Jun 30 13:11:10 2019 +0200
Commit:     Julien Nabet <serval2...@yahoo.fr>
CommitDate: Wed Jul 3 17:38:48 2019 +0200

    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 <serval2...@yahoo.fr>

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)
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to