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

Lionel Elie Mamane lionel at mamane.lu
Tue Jul 2 00:40:53 PDT 2013


 wizards/com/sun/star/wizards/db/FieldColumn.java |   10 ++++++++++
 1 file changed, 10 insertions(+)

New commits:
commit b625356d1d36bd42dff24960066f63ab45bbb30b
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date:   Sun Jun 30 16:54:55 2013 +0200

    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 at redhat.com>
    Tested-by: David Tardon <dtardon at redhat.com>

diff --git a/wizards/com/sun/star/wizards/db/FieldColumn.java b/wizards/com/sun/star/wizards/db/FieldColumn.java
index 9f179fd..7f8cc70 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()


More information about the Libreoffice-commits mailing list