summaryrefslogtreecommitdiff
path: root/wizards
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2013-06-30 16:54:55 +0200
committerLionel Elie Mamane <lionel@mamane.lu>2013-06-30 16:58:08 +0200
commit97d279b4c54951547b8c8f4bd29376bd6e111593 (patch)
tree53900eadfb666e94da44f9c9e6b0721b3e9cc4aa /wizards
parentde2cdeabfe18f6fbe2f0f9a7aa5d91bcf88d9fa2 (diff)
fdo#64985 try harder to populate m_sCommandName::m_sCommandName
Change-Id: Ibef643498903c82eee5533d387a33ca26a77d496
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()