diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2015-10-04 16:14:31 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2015-10-04 14:32:30 +0000 |
commit | 3ad8f409d7658d94871aff2e709f013e8c869d98 (patch) | |
tree | 578e0551b9ef3c24972ea0c0a2068e3389c2c473 /qadevOOo | |
parent | 990efa00ce0b305500df4bdd6641c2016fa4fa5a (diff) |
Prefer getSelectedFiles to getFiles (sdext+qadevOOo)
Change-Id: I4827e47b7d67b0112c0f9023c0db4ce8975f06e1
Reviewed-on: https://gerrit.libreoffice.org/19126
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'qadevOOo')
-rw-r--r-- | qadevOOo/objdsc/fps/com.sun.star.comp.ui.dialogs.FilePicker.csv | 1 | ||||
-rw-r--r-- | qadevOOo/tests/java/ifc/ui/dialogs/_XFilePicker.java | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/qadevOOo/objdsc/fps/com.sun.star.comp.ui.dialogs.FilePicker.csv b/qadevOOo/objdsc/fps/com.sun.star.comp.ui.dialogs.FilePicker.csv index 40eec7051950..dae1067f9498 100644 --- a/qadevOOo/objdsc/fps/com.sun.star.comp.ui.dialogs.FilePicker.csv +++ b/qadevOOo/objdsc/fps/com.sun.star.comp.ui.dialogs.FilePicker.csv @@ -3,6 +3,7 @@ "FilePicker";"com::sun::star::ui::dialogs::XFilePicker";"setDisplayDirectory()" "FilePicker";"com::sun::star::ui::dialogs::XFilePicker";"getDisplayDirectory()" "FilePicker";"com::sun::star::ui::dialogs::XFilePicker";"getFiles()" +"FilePicker";"com::sun::star::ui::dialogs::XFilePicker2";"getSelectedFiles()" "FilePicker";"com::sun::star::ui::dialogs::XFilePickerControlAccess#optional";"setValue()" "FilePicker";"com::sun::star::ui::dialogs::XFilePickerControlAccess#optional";"getValue()" "FilePicker";"com::sun::star::ui::dialogs::XFilePickerControlAccess#optional";"setLabel()" diff --git a/qadevOOo/tests/java/ifc/ui/dialogs/_XFilePicker.java b/qadevOOo/tests/java/ifc/ui/dialogs/_XFilePicker.java index afc5ad8581eb..3a2a71ec9e16 100644 --- a/qadevOOo/tests/java/ifc/ui/dialogs/_XFilePicker.java +++ b/qadevOOo/tests/java/ifc/ui/dialogs/_XFilePicker.java @@ -20,7 +20,7 @@ package ifc.ui.dialogs; import lib.MultiMethodTest; -import com.sun.star.ui.dialogs.XFilePicker; +import com.sun.star.ui.dialogs.XFilePicker2; /** * Testing <code>com.sun.star.ui.XFilePicker</code> @@ -41,7 +41,7 @@ import com.sun.star.ui.dialogs.XFilePicker; */ public class _XFilePicker extends MultiMethodTest { - public XFilePicker oObj = null; + public XFilePicker2 oObj = null; private String dir = null ; private static final String fname = "space-metal.jpg" ; @@ -133,7 +133,7 @@ public class _XFilePicker extends MultiMethodTest { requiredMethod("setDisplayDirectory()"); requiredMethod("setDefaultName()"); - String[] files = oObj.getFiles(); + String[] files = oObj.getSelectedFiles(); if (files.length > 0) { log.println("Path get : '" + files[0] + "'") ; |