[Libreoffice-commits] core.git: wizards/com

Julien Nabet serval2412 at yahoo.fr
Fri Jan 2 09:41:10 PST 2015


 wizards/com/sun/star/wizards/query/CallQueryWizard.java |    3 +++
 wizards/com/sun/star/wizards/table/CallTableWizard.java |    3 +++
 2 files changed, 6 insertions(+)

New commits:
commit f3edc18b4006b712725cbe530f064798607b2beb
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Fri Jan 2 18:38:34 2015 +0100

    Following fdo#87123: Impossible to create table or query with wizard
    
    See https://bugs.freedesktop.org/show_bug.cgi?id=87123#c15
    and above all https://bugs.freedesktop.org/show_bug.cgi?id=87123#c18
    Thank you Noel for your help!
    
    Change-Id: I9feb2384ff5965bab005c9a1e8803062cd9d0f94

diff --git a/wizards/com/sun/star/wizards/query/CallQueryWizard.java b/wizards/com/sun/star/wizards/query/CallQueryWizard.java
index 0114d87..9424566 100644
--- a/wizards/com/sun/star/wizards/query/CallQueryWizard.java
+++ b/wizards/com/sun/star/wizards/query/CallQueryWizard.java
@@ -56,6 +56,9 @@ public class CallQueryWizard
     public static class QueryWizardImplementation extends com.sun.star.lib.uno.helper.PropertySet implements com.sun.star.lang.XInitialization, com.sun.star.lang.XServiceInfo, com.sun.star.task.XJobExecutor
     {
         private PropertyValue[] m_wizardContext;
+        // the next two fields are accessed by reflection, do not delete!
+        public String           Command;
+        public final Integer    CommandType = com.sun.star.sdb.CommandType.QUERY;
 
         /** The constructor of the inner class has a XMultiServiceFactory parameter.
          * @param i_serviceFactory A special service factory could be introduced while initializing.
diff --git a/wizards/com/sun/star/wizards/table/CallTableWizard.java b/wizards/com/sun/star/wizards/table/CallTableWizard.java
index 07b8300..e25f006 100644
--- a/wizards/com/sun/star/wizards/table/CallTableWizard.java
+++ b/wizards/com/sun/star/wizards/table/CallTableWizard.java
@@ -56,6 +56,9 @@ public class CallTableWizard
     {
 
         private PropertyValue[] m_wizardContext;
+        // the next two fields are accessed by reflection, do not delete!
+        public String           Command;
+        public final Integer    CommandType = com.sun.star.sdb.CommandType.TABLE;
 
         /** The constructor of the inner class has a XMultiServiceFactory parameter.
          */


More information about the Libreoffice-commits mailing list