summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2014-12-19 18:59:56 +0100
committerDavid Tardon <dtardon@redhat.com>2015-01-07 17:17:38 +0000
commit36cf354108e1eb55105aed2e4d10c7caa5f08f65 (patch)
tree97469be3b04b6bc8c689874534bcd43e49bb90da
parent938deff2a1e5451fd5493520480ae3c9615af3f9 (diff)
set *content* control to multiline, not label(!)
Change-Id: Iebf7fa5b2335e5c6d71fdba791e49a6378db8a31 Reviewed-on: https://gerrit.libreoffice.org/13552 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
-rw-r--r--wizards/com/sun/star/wizards/form/FormControlArranger.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/wizards/com/sun/star/wizards/form/FormControlArranger.java b/wizards/com/sun/star/wizards/form/FormControlArranger.java
index 4e2613498dd1..9d842d622022 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);