summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/ifc/xml
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2003-09-08 10:33:57 +0000
committerRüdiger Timm <rt@openoffice.org>2003-09-08 10:33:57 +0000
commit8f301169562821d973f59aa787ffc186c1844514 (patch)
tree1964481b5ee50e939231008d441464d3c3a07aea /qadevOOo/tests/java/ifc/xml
parent29923e4f61b48f15186ac5475aee9524d28d5ce6 (diff)
INTEGRATION: CWS qadev11 (1.1.28); FILE MERGED
2003/09/03 14:59:20 sw 1.1.28.1: #112049#
Diffstat (limited to 'qadevOOo/tests/java/ifc/xml')
-rw-r--r--qadevOOo/tests/java/ifc/xml/sax/_XDocumentHandler.java27
1 files changed, 7 insertions, 20 deletions
diff --git a/qadevOOo/tests/java/ifc/xml/sax/_XDocumentHandler.java b/qadevOOo/tests/java/ifc/xml/sax/_XDocumentHandler.java
index 65a66ae5a6d6..ed6b4f154dce 100644
--- a/qadevOOo/tests/java/ifc/xml/sax/_XDocumentHandler.java
+++ b/qadevOOo/tests/java/ifc/xml/sax/_XDocumentHandler.java
@@ -2,9 +2,9 @@
*
* $RCSfile: _XDocumentHandler.java,v $
*
- * $Revision: 1.1 $
+ * $Revision: 1.2 $
*
- * last change:$Date: 2003-01-27 18:14:11 $
+ * last change:$Date: 2003-09-08 11:33:57 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -61,16 +61,17 @@
package ifc.xml.sax;
-import com.sun.star.beans.PropertyValue;
-import com.sun.star.xml.sax.SAXException;
-import com.sun.star.xml.sax.XDocumentHandler;
-import com.sun.star.xml.sax.XLocator;
import java.io.PrintWriter;
+
import lib.MultiMethodTest;
import lib.Status;
import lib.StatusException;
import util.XMLTools;
+import com.sun.star.xml.sax.SAXException;
+import com.sun.star.xml.sax.XDocumentHandler;
+import com.sun.star.xml.sax.XLocator;
+
/**
* Testing <code>com.sun.star.xml.sax.XDocumentHandler</code>
* interface methods :
@@ -418,20 +419,6 @@ public class _XDocumentHandler extends MultiMethodTest {
tRes.tested("setDocumentLocator()", result) ;
}
- private PropertyValue[] createMediaDescriptor(String[] propNames,
- Object[] values) {
- PropertyValue[] props = new PropertyValue[propNames.length] ;
-
- for (int i = 0; i < props.length; i++) {
- props[i] = new PropertyValue() ;
- props[i].Name = propNames[i] ;
- if (values != null && i < values.length) {
- props[i].Value = values[i] ;
- }
- }
-
- return props ;
- }
}