User: hr      
Date: 06/06/19 18:25:07

Modified:
 /dba/connectivity/source/drivers/file/
  FConnection.cxx

Log:
 INTEGRATION: CWS warnings01 (1.41.12); FILE MERGED
 2005/11/16 12:59:00 fs 1.41.12.3: #i57457# warning free code
 2005/11/07 19:06:48 pl 1.41.12.2: RESYNC: (1.41-1.42); FILE MERGED
 2005/11/07 14:43:27 fs 1.41.12.1: #i57457# warning-free code

File Changes:

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

File [changed]: FConnection.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/file/FConnection.cxx?r1=1.43&r2=1.44
Delta lines:  +14 -9
--------------------
--- FConnection.cxx     29 Mar 2006 12:15:34 -0000      1.43
+++ FConnection.cxx     20 Jun 2006 01:25:05 -0000      1.44
@@ -87,6 +87,9 @@
 #ifndef _DBHELPER_DBCHARSET_HXX_
 #include <connectivity/dbcharset.hxx>
 #endif
+#ifndef _DBHELPER_DBEXCEPTION_HXX_
+#include <connectivity/dbexception.hxx>
+#endif
 #ifndef _OSL_THREAD_H_
 #include <osl/thread.h>
 #endif
@@ -110,9 +113,9 @@
 // 
--------------------------------------------------------------------------------
 OConnection::OConnection(OFileDriver*  _pDriver)
                                                 : OSubComponent<OConnection, 
OConnection_BASE>((::cppu::OWeakObject*)_pDriver, this)
+                         ,m_xMetaData(NULL)
                                                 ,m_pDriver(_pDriver)
                                                 ,m_bClosed(sal_False)
-                                                ,m_xMetaData(NULL)
                                                 ,m_bShowDeleted(sal_False)
                                                 ,m_bCaseSensitiveExtension( 
sal_True )
                                                 ,m_bCheckSQL92(sal_False)
@@ -291,8 +294,9 @@
        return pStmt;
 }
 // 
--------------------------------------------------------------------------------
-Reference< XPreparedStatement > SAL_CALL OConnection::prepareCall( const 
::rtl::OUString& sql ) throw(SQLException, RuntimeException)
+Reference< XPreparedStatement > SAL_CALL OConnection::prepareCall( const 
::rtl::OUString& /*sql*/ ) throw(SQLException, RuntimeException)
 {
+    throwFeatureNotImplementedException( "XConnection::prepareCall", *this );
        return NULL;
 }
 // 
--------------------------------------------------------------------------------
@@ -366,8 +370,9 @@
        return m_bReadOnly;
 }
 // 
--------------------------------------------------------------------------------
-void SAL_CALL OConnection::setCatalog( const ::rtl::OUString& catalog ) 
throw(SQLException, RuntimeException)
+void SAL_CALL OConnection::setCatalog( const ::rtl::OUString& /*catalog*/ ) 
throw(SQLException, RuntimeException)
 {
+    throwFeatureNotImplementedException( "XConnection::setCatalog", *this );
 }
 // 
--------------------------------------------------------------------------------
 ::rtl::OUString SAL_CALL OConnection::getCatalog(  ) throw(SQLException, 
RuntimeException)
@@ -375,8 +380,9 @@
        return ::rtl::OUString();
 }
 // 
--------------------------------------------------------------------------------
-void SAL_CALL OConnection::setTransactionIsolation( sal_Int32 level ) 
throw(SQLException, RuntimeException)
+void SAL_CALL OConnection::setTransactionIsolation( sal_Int32 /*level*/ ) 
throw(SQLException, RuntimeException)
 {
+    throwFeatureNotImplementedException( 
"XConnection::setTransactionIsolation", *this );
 }
 // 
--------------------------------------------------------------------------------
 sal_Int32 SAL_CALL OConnection::getTransactionIsolation(  ) 
throw(SQLException, RuntimeException)
@@ -389,7 +395,7 @@
        return NULL;
 }
 // 
--------------------------------------------------------------------------------
-void SAL_CALL OConnection::setTypeMap( const Reference< 
::com::sun::star::container::XNameAccess >& typeMap ) throw(SQLException, 
RuntimeException)
+void SAL_CALL OConnection::setTypeMap( const Reference< 
::com::sun::star::container::XNameAccess >& /*typeMap*/ ) throw(SQLException, 
RuntimeException)
 {
 }
 // 
--------------------------------------------------------------------------------
@@ -472,9 +478,8 @@
 sal_Int64 SAL_CALL OConnection::getSomething( const 
::com::sun::star::uno::Sequence< sal_Int8 >& rId ) throw 
(::com::sun::star::uno::RuntimeException)
 {
        return (rId.getLength() == 16 && 0 == 
rtl_compareMemory(getUnoTunnelImplementationId().getConstArray(),  
rId.getConstArray(), 16 ) )
-               ?
-               (sal_Int64)this
-               : sal_Int64(0);
+               ? reinterpret_cast< sal_Int64 >( this )
+               : (sal_Int64)0;
 }
 // 
-----------------------------------------------------------------------------
 Sequence< sal_Int8 > OConnection::getUnoTunnelImplementationId()




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

Reply via email to