[Libreoffice-commits] core.git: Branch 'libreoffice-6-3' - wizards/com

Julien Nabet (via logerrit) logerrit at kemper.freedesktop.org
Thu Jul 4 09:05:20 UTC 2019


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

New commits:
commit 96d1b176f02f0396544e6c13c170f895b13fdfde
Author:     Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Sun Jun 30 13:11:10 2019 +0200
Commit:     Xisco FaulĂ­ <xiscofauli at libreoffice.org>
CommitDate: Thu Jul 4 11:04:47 2019 +0200

    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 at libreoffice.org>

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)


More information about the Libreoffice-commits mailing list