summaryrefslogtreecommitdiff
path: root/wizards
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2013-06-30 16:54:55 +0200
committerDavid Tardon <dtardon@redhat.com>2013-07-02 07:40:45 +0000
commitb625356d1d36bd42dff24960066f63ab45bbb30b (patch)
tree77c97765cb8a15af916a8b5fcad3e2a7feafd0e5 /wizards
parent4e4cad34f696ef820edc24eed0e26bbeae3757c2 (diff)
fdo#64985 try harder to populate m_sCommandName::m_sCommandName
Change-Id: Ibef643498903c82eee5533d387a33ca26a77d496 Reviewed-on: https://gerrit.libreoffice.org/4633 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'wizards')
-rw-r--r--wizards/com/sun/star/wizards/db/FieldColumn.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/wizards/com/sun/star/wizards/db/FieldColumn.java b/wizards/com/sun/star/wizards/db/FieldColumn.java
index 9f179fde2e2e..7f8cc70d88a3 100644
--- a/wizards/com/sun/star/wizards/db/FieldColumn.java
+++ b/wizards/com/sun/star/wizards/db/FieldColumn.java
@@ -90,6 +90,16 @@ public class FieldColumn
m_sDisplayFieldName = m_sFieldName;
ColIndex = JavaTools.FieldInList(_xColumns.getElementNames(), m_sFieldName) + 1;
initializeFormatKeys(oCommandMetaData, _xColumns);
+ try
+ {
+ m_sCommandName = (String)m_xColPropertySet.getPropertyValue("TableName");
+ }
+ catch (com.sun.star.beans.UnknownPropertyException e)
+ {
+ }
+ catch (com.sun.star.lang.WrappedTargetException e)
+ {
+ }
}
public int getFieldType()