summaryrefslogtreecommitdiff
path: root/wizards
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-11-27 10:39:28 +0100
committerStephan Bergmann <sbergman@redhat.com>2012-11-27 10:39:28 +0100
commitcc360f0a483e7c68ece7a30424f204d660d74b1c (patch)
tree0e81c30bf1805cebdd7d3b8097085bf44f0a8528 /wizards
parent41f08d42696fdb1f38baaafdde63088febdfd06d (diff)
fdo#46808: Missing adaptions to XFolderPicker2
c988da288ec473a28f61ebb53aa3ff82bab11ef4 "fdo#46808, Adapt ui::dialogs::FolderPicker UNO service to new style" had left some FolderPicker implementations at XFolderPicker, so creating them caused DeploymentExceptions. Change-Id: I3463161f9bb87a69a2777c331eb5b93d487790b0
Diffstat (limited to 'wizards')
-rw-r--r--wizards/com/sun/star/wizards/common/SystemDialog.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/wizards/com/sun/star/wizards/common/SystemDialog.java b/wizards/com/sun/star/wizards/common/SystemDialog.java
index 58ab35ce7092..bb4bdbf3bdec 100644
--- a/wizards/com/sun/star/wizards/common/SystemDialog.java
+++ b/wizards/com/sun/star/wizards/common/SystemDialog.java
@@ -36,7 +36,7 @@ public class SystemDialog
Object systemDialog;
XFilePicker xFilePicker;
- XFolderPicker xFolderPicker;
+ XFolderPicker2 xFolderPicker;
XFilterManager xFilterManager;
XInitialization xInitialize;
XExecutableDialog xExecutable;
@@ -59,7 +59,7 @@ public class SystemDialog
this.xMSF = xMSF;
systemDialog = xMSF.createInstance(ServiceName);
xFilePicker = UnoRuntime.queryInterface(XFilePicker.class, systemDialog);
- xFolderPicker = UnoRuntime.queryInterface(XFolderPicker.class, systemDialog);
+ xFolderPicker = UnoRuntime.queryInterface(XFolderPicker2.class, systemDialog);
xFilterManager = UnoRuntime.queryInterface(XFilterManager.class, systemDialog);
xInitialize = UnoRuntime.queryInterface(XInitialization.class, systemDialog);
xExecutable = UnoRuntime.queryInterface(XExecutableDialog.class, systemDialog);