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

Lionel Elie Mamane lionel at mamane.lu
Wed Jan 7 09:18:09 PST 2015


 wizards/com/sun/star/wizards/form/FormControlArranger.java |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 36cf354108e1eb55105aed2e4d10c7caa5f08f65
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date:   Fri Dec 19 18:59:56 2014 +0100

    set *content* control to multiline, not label(!)
    
    Change-Id: Iebf7fa5b2335e5c6d71fdba791e49a6378db8a31
    Reviewed-on: https://gerrit.libreoffice.org/13552
    Reviewed-by: David Tardon <dtardon at redhat.com>
    Tested-by: David Tardon <dtardon at redhat.com>

diff --git a/wizards/com/sun/star/wizards/form/FormControlArranger.java b/wizards/com/sun/star/wizards/form/FormControlArranger.java
index 4e26134..9d842d6 100644
--- a/wizards/com/sun/star/wizards/form/FormControlArranger.java
+++ b/wizards/com/sun/star/wizards/form/FormControlArranger.java
@@ -625,7 +625,7 @@ public class FormControlArranger
             if (nFieldType == DataType.LONGVARCHAR) /* memo */
 
             {
-                Helper.setUnoPropertyValue(LabelControlList[i], PropertyNames.PROPERTY_MULTILINE, Boolean.TRUE);
+                Helper.setUnoPropertyValue(aDBControl.xPropertySet, PropertyNames.PROPERTY_MULTILINE, Boolean.TRUE);
             }
             checkOuterPoints(m_currentControlPosX, m_dbControlWidth, m_currentControlPosY, m_dbControlHeight, true);
             aDBControl.setPropertyValue(PropertyNames.PROPERTY_BORDER, NBorderType);


More information about the Libreoffice-commits mailing list