Tag: cws_src680_dba24d
User: fs      
Date: 2007-11-21 08:12:48+0000
Modified:
   dba/dbaccess/qa/complex/dbaccess/QueryInQuery.java

Log:
 silence some NetBeans 6 warnings

File Changes:

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

File [changed]: QueryInQuery.java
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/qa/complex/dbaccess/QueryInQuery.java?r1=1.3.106.1&r2=1.3.106.2
Delta lines:  +2 -8
-------------------
--- QueryInQuery.java   2007-11-21 08:12:16+0000        1.3.106.1
+++ QueryInQuery.java   2007-11-21 08:12:46+0000        1.3.106.2
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: QueryInQuery.java,v $
  *
- *  $Revision: 1.3.106.1 $
+ *  $Revision: 1.3.106.2 $
  *
- *  last change: $Author: fs $ $Date: 2007/11/21 08:12:16 $
+ *  last change: $Author: fs $ $Date: 2007/11/21 08:12:46 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -52,7 +52,6 @@
 public class QueryInQuery extends complexlib.ComplexTestCase
 {
     private CRMDatabase                 m_database;
-    private XSingleSelectQueryComposer  m_composer;
 
     // 
--------------------------------------------------------------------------------------------------------
     public String[] getTestMethodNames()
@@ -86,11 +85,6 @@
             m_database = new CRMDatabase( getORB() );
 
             m_database.getDatabase().getDataSource().createQuery( "query 
products", "SELECT * FROM \"products\"" );
-
-            XMultiServiceFactory connectionFactory = 
(XMultiServiceFactory)UnoRuntime.queryInterface(
-                XMultiServiceFactory.class, m_database.getConnection() );
-            m_composer = (XSingleSelectQueryComposer)UnoRuntime.queryInterface(
-                XSingleSelectQueryComposer.class, 
connectionFactory.createInstance( "com.sun.star.sdb.SingleSelectQueryComposer" 
) );
         }
         catch ( Exception e )
         {




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

Reply via email to