summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/mod/_fps
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2003-09-08 10:51:56 +0000
committerRüdiger Timm <rt@openoffice.org>2003-09-08 10:51:56 +0000
commitfccdf3e6120d83ce24b6b2bc892f2b68a85dedeb (patch)
tree4d0d34e0bd592318a56ddec42fb607972ac7d3fe /qadevOOo/tests/java/mod/_fps
parent9ac5ecbef24b9852b7c00544261b03dd458dafeb (diff)
INTEGRATION: CWS qadev11 (1.2.14); FILE MERGED
2003/09/03 15:33:17 sw 1.2.14.1: #112049#
Diffstat (limited to 'qadevOOo/tests/java/mod/_fps')
-rw-r--r--qadevOOo/tests/java/mod/_fps/FilePicker.java17
1 files changed, 6 insertions, 11 deletions
diff --git a/qadevOOo/tests/java/mod/_fps/FilePicker.java b/qadevOOo/tests/java/mod/_fps/FilePicker.java
index bd2fab6500bd..b202c42cd974 100644
--- a/qadevOOo/tests/java/mod/_fps/FilePicker.java
+++ b/qadevOOo/tests/java/mod/_fps/FilePicker.java
@@ -2,9 +2,9 @@
*
* $RCSfile: FilePicker.java,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change:$Date: 2003-05-27 12:46:34 $
+ * last change:$Date: 2003-09-08 11:51:56 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -61,16 +61,16 @@
package mod._fps;
-import com.sun.star.lang.XMultiServiceFactory;
-import com.sun.star.ui.dialogs.XFilePickerControlAccess;
-import com.sun.star.uno.UnoRuntime;
-import com.sun.star.uno.XInterface;
import java.io.PrintWriter;
+
import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
+import com.sun.star.lang.XMultiServiceFactory;
+import com.sun.star.uno.XInterface;
+
/**
* Test for object which is represented by service
* <code>com.sun.star.ui.FilePicker</code>. <p>
@@ -134,7 +134,6 @@ public class FilePicker extends TestCase {
XInterface oObj = null;
Object oInterface = null;
XMultiServiceFactory xMSF = (XMultiServiceFactory)Param.getMSF();
- Object relationContainer = null ;
Object[] iniArgs = new Object[] { new Short
(com.sun.star.ui.dialogs.TemplateDescription.FILEOPEN_READONLY_VERSION)};
@@ -143,10 +142,6 @@ public class FilePicker extends TestCase {
try {
oInterface = xMSF.createInstance
( "com.sun.star.ui.dialogs.FilePicker" );
-
- XFilePickerControlAccess ca = (XFilePickerControlAccess)
- UnoRuntime.queryInterface(XFilePickerControlAccess.class,
- oInterface) ;
} catch( com.sun.star.uno.Exception e ) {
log.println("Can't create an object." );
throw new StatusException( "Can't create an object", e );