summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2015-01-02 18:38:34 +0100
committerJulien Nabet <serval2412@yahoo.fr>2015-01-02 18:40:18 +0100
commitf3edc18b4006b712725cbe530f064798607b2beb (patch)
tree9f5353a4fd7c6d9254f3e4e19e754d1617a61b49
parentb03eb878a8b77c3b5ff08d06d9fd0e5f1fe6dc89 (diff)
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
-rw-r--r--wizards/com/sun/star/wizards/query/CallQueryWizard.java3
-rw-r--r--wizards/com/sun/star/wizards/table/CallTableWizard.java3
2 files changed, 6 insertions, 0 deletions
diff --git a/wizards/com/sun/star/wizards/query/CallQueryWizard.java b/wizards/com/sun/star/wizards/query/CallQueryWizard.java
index 0114d871ccee..942456673b7f 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 07b830082af3..e25f0063dce6 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.
*/