Tag: cws_src680_dba201b
User: oj      
Date: 05/07/05 05:58:59

Modified:
 /dba/dbaccess/qa/complex/dbaccess/
  RowSet.java

Log:
 #i51571# fix test to new api

File Changes:

Directory: /dba/dbaccess/qa/complex/dbaccess/
=============================================

File [changed]: RowSet.java
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/qa/complex/dbaccess/RowSet.java?r1=1.2&r2=1.2.38.1
Delta lines:  +8 -7
-------------------
--- RowSet.java 18 Mar 2005 10:03:15 -0000      1.2
+++ RowSet.java 5 Jul 2005 12:58:56 -0000       1.2.38.1
@@ -2,9 +2,9 @@
  *
  *  $RCSfile: RowSet.java,v $
  *
- *  $Revision: 1.2 $
+ *  $Revision: 1.2.38.1 $
  *
- *  last change: $Author: obo $ $Date: 2005/03/18 10:03:15 $
+ *  last change: $Author: oj $ $Date: 2005/07/05 12:58:56 $
  *
  *  The Contents of this file are made available subject to the terms of
  *  either of the following licenses
@@ -141,14 +141,15 @@
             
         }
         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);




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to