User: hr      
Date: 06/06/19 18:29:54

Modified:
 /dba/connectivity/source/drivers/hsqldb/
  HDriver.cxx

Log:
 INTEGRATION: CWS warnings01 (1.14.8); FILE MERGED
 2006/04/07 20:21:26 sb 1.14.8.6: RESYNC: (1.15-1.16); FILE MERGED
 2005/12/22 11:44:48 fs 1.14.8.5: #i57457# warning-free code
 2005/11/21 15:51:39 fs 1.14.8.4: #i57457# OSL_VERIFY_EQUALS
 2005/11/16 12:59:05 fs 1.14.8.3: #i57457# warning free code
 2005/11/07 19:09:17 pl 1.14.8.2: RESYNC: (1.14-1.15); FILE MERGED
 2005/11/07 14:43:36 fs 1.14.8.1: #i57457# warning-free code

File Changes:

Directory: /dba/connectivity/source/drivers/hsqldb/
===================================================

File [changed]: HDriver.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/hsqldb/HDriver.cxx?r1=1.16&r2=1.17
Delta lines:  +14 -8
--------------------
--- HDriver.cxx 29 Mar 2006 12:16:41 -0000      1.16
+++ HDriver.cxx 20 Jun 2006 01:29:52 -0000      1.17
@@ -83,6 +83,9 @@
 #ifndef CONNECTIVITY_HSQLDB_CATALOG_HXX
 #include "hsqldb/HCatalog.hxx"
 #endif
+#ifndef CONNECTIVITY_DIAGNOSE_EX_H
+#include "diagnose_ex.h"
+#endif
 #ifndef _RTL_USTRBUF_HXX_
 #include <rtl/ustrbuf.hxx>
 #endif
@@ -92,6 +95,9 @@
 #ifndef _OSL_PROCESS_H_
 #include <osl/process.h>
 #endif
+#ifndef _DBHELPER_DBEXCEPTION_HXX_
+#include <connectivity/dbexception.hxx>
+#endif
 //........................................................................
 namespace connectivity
 {
@@ -329,13 +335,12 @@
        sal_Bool SAL_CALL ODriverDelegator::acceptsURL( const ::rtl::OUString& 
url ) throw (SQLException, RuntimeException)
        {
                sal_Bool bEnabled = sal_False;
-               javaFrameworkError eErr = jfw_getEnabled( &bEnabled );
-               OSL_ENSURE( JFW_E_NONE == eErr,"error in jfw_getEnabled" );
+               OSL_VERIFY_EQUALS( jfw_getEnabled( &bEnabled ), JFW_E_NONE, 
"error in jfw_getEnabled" );
                return bEnabled  && 
url.compareToAscii("sdbc:embedded:hsqldb",sizeof("sdbc:embedded:hsqldb")) == 0;
        }
 
        //--------------------------------------------------------------------
-       Sequence< DriverPropertyInfo > SAL_CALL 
ODriverDelegator::getPropertyInfo( const ::rtl::OUString& url, const Sequence< 
PropertyValue >& info ) throw (SQLException, RuntimeException)
+       Sequence< DriverPropertyInfo > SAL_CALL 
ODriverDelegator::getPropertyInfo( const ::rtl::OUString& url, const Sequence< 
PropertyValue >& /*info*/ ) throw (SQLException, RuntimeException)
        {
                if ( !acceptsURL(url) )
             return Sequence< DriverPropertyInfo >();
@@ -449,8 +454,9 @@
                return getSupportedServiceNames_Static();
        }
        //------------------------------------------------------------------
-       void SAL_CALL ODriverDelegator::createCatalog( const Sequence< 
PropertyValue >& info ) throw (SQLException, 
::com::sun::star::container::ElementExistException, RuntimeException)
+       void SAL_CALL ODriverDelegator::createCatalog( const Sequence< 
PropertyValue >& /*info*/ ) throw (SQLException, 
::com::sun::star::container::ElementExistException, RuntimeException)
        {
+        ::dbtools::throwFeatureNotImplementedException( 
"XCreateCatalog::createCatalog", *this );
        }
     //------------------------------------------------------------------
     void ODriverDelegator::shutdownConnection(const TWeakPairVector::iterator& 
_aIter )
@@ -579,15 +585,15 @@
         }
     }
     //------------------------------------------------------------------
-    void SAL_CALL ODriverDelegator::commited( const 
::com::sun::star::lang::EventObject& aEvent ) throw 
(::com::sun::star::uno::RuntimeException)
+    void SAL_CALL ODriverDelegator::commited( const 
::com::sun::star::lang::EventObject& /*aEvent*/ ) throw 
(::com::sun::star::uno::RuntimeException)
     {
     }
     //------------------------------------------------------------------
-    void SAL_CALL ODriverDelegator::preRevert( const 
::com::sun::star::lang::EventObject& aEvent ) throw 
(::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException)
+    void SAL_CALL ODriverDelegator::preRevert( const 
::com::sun::star::lang::EventObject& /*aEvent*/ ) throw 
(::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException)
     {
     }
     //------------------------------------------------------------------
-    void SAL_CALL ODriverDelegator::reverted( const 
::com::sun::star::lang::EventObject& aEvent ) throw 
(::com::sun::star::uno::RuntimeException)
+    void SAL_CALL ODriverDelegator::reverted( const 
::com::sun::star::lang::EventObject& /*aEvent*/ ) throw 
(::com::sun::star::uno::RuntimeException)
     {
     }
     //------------------------------------------------------------------
@@ -810,7 +816,7 @@
                 xStatement->execute( aStatement.makeStringAndClear() );
             }
         }
-        catch( const Exception& e )
+        catch( const Exception& )
         {
                OSL_ENSURE( sal_False, 
"ODriverDelegator::onConnectedNewDatabase: caught an exception!" );
         }




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

Reply via email to