summaryrefslogtreecommitdiff
path: root/dbaccess/qa/complex
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2005-09-23 11:01:12 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2005-09-23 11:01:12 +0000
commit00bf477197d918e860da17ff22fd562267b2a382 (patch)
treed8f1bcea41db3f2f93ad9e67bf18ee0b8bc0820a /dbaccess/qa/complex
parentaebc8be2651506575631a8f4385994a8a02e54cf (diff)
INTEGRATION: CWS dba201b (1.2.38); FILE MERGED
2005/09/21 06:36:05 oj 1.2.38.2: RESYNC: (1.2-1.3); FILE MERGED 2005/07/05 12:58:56 oj 1.2.38.1: #i51571# fix test to new api
Diffstat (limited to 'dbaccess/qa/complex')
-rw-r--r--dbaccess/qa/complex/dbaccess/RowSet.java15
1 files changed, 8 insertions, 7 deletions
diff --git a/dbaccess/qa/complex/dbaccess/RowSet.java b/dbaccess/qa/complex/dbaccess/RowSet.java
index ac68c9604536..90951331b399 100644
--- a/dbaccess/qa/complex/dbaccess/RowSet.java
+++ b/dbaccess/qa/complex/dbaccess/RowSet.java
@@ -4,9 +4,9 @@
*
* $RCSfile: RowSet.java,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: rt $ $Date: 2005-09-08 09:48:35 $
+ * last change: $Author: hr $ $Date: 2005-09-23 12:01:12 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -115,14 +115,15 @@ public class RowSet extends ComplexTestCase {
}
try{
- /*
+
XOfficeDatabaseDocument xDoc = (XOfficeDatabaseDocument)UnoRuntime.queryInterface(XOfficeDatabaseDocument.class,
((XMultiServiceFactory)param.getMSF()).createInstance("com.sun.star.sdb.OfficeDatabaseDocument"));
- */
- xDoc = (XDataSource)UnoRuntime.queryInterface(XDataSource.class,
+
+ /* xDoc = (XDataSource)UnoRuntime.queryInterface(XDataSource.class,
((XMultiServiceFactory)param.getMSF()).createInstance("com.sun.star.sdb.OfficeDatabaseDocument"));
- // XDataSource xDs = xDoc.getDataSource();
- XDataSource xDs = xDoc;
+ */
+ XDataSource xDs = xDoc.getDataSource();
+ //XDataSource xDs = xDoc;
XPropertySet xProp = (XPropertySet)UnoRuntime.queryInterface(XPropertySet.class,xDs);
xProp.setPropertyValue("URL", "sdbc:embedded:hsqldb");
XStorable xStore = (XStorable)UnoRuntime.queryInterface(XStorable.class,xDoc);