Tag: cws_src680_warnings01
User: sb      
Date: 06/04/07 13:22:33

Modified:
 /dba/connectivity/source/drivers/mozab/
  MDatabaseMetaData.cxx

Log:
 RESYNC: (1.10-1.11); FILE MERGED

File Changes:

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

File [changed]: MDatabaseMetaData.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/mozab/MDatabaseMetaData.cxx?r1=1.10.30.2&r2=1.10.30.3
Delta lines:  +17 -19
---------------------
--- MDatabaseMetaData.cxx       16 Nov 2005 12:59:12 -0000      1.10.30.2
+++ MDatabaseMetaData.cxx       7 Apr 2006 20:22:31 -0000       1.10.30.3
@@ -118,7 +118,7 @@
     ::std::vector< ::rtl::OUString > tables;
     ::std::vector< ::rtl::OUString > types;
     if ( !m_pDbMetaDataHelper->getTableStrings( m_pConnection, tables, types) 
) {
-        ::dbtools::throwGenericSQLException( 
m_pDbMetaDataHelper->getErrorString(), NULL );
+        getOwnConnection()->throwGenericSQLException( 
m_pDbMetaDataHelper->getErrorResourceId() );
     }
 
     // ****************************************************
@@ -1022,7 +1022,7 @@
     // pResultSet->setRows( aRows );
     ODatabaseMetaDataResultSet::ORows _rRows;
     if ( !m_pDbMetaDataHelper->getTables( m_pConnection, tableNamePattern, 
types,_rRows ) ) {
-        ::dbtools::throwGenericSQLException( 
m_pDbMetaDataHelper->getErrorString(), NULL );
+        getOwnConnection()->throwGenericSQLException( 
m_pDbMetaDataHelper->getErrorResourceId() );
     }
     pResultSet->setRows( _rRows );
 
@@ -1133,9 +1133,7 @@
     ::std::vector< ::rtl::OUString > tables;
     ::std::vector< ::rtl::OUString > types;
     if ( !m_pDbMetaDataHelper->getTableStrings( m_pConnection, tables, types ) 
)
-          {
-          ::dbtools::throwGenericSQLException( 
m_pDbMetaDataHelper->getErrorString(), NULL );
-        }
+        getOwnConnection()->throwGenericSQLException( 
m_pDbMetaDataHelper->getErrorResourceId() );
 
                ::connectivity::ODatabaseMetaDataResultSet::ORows aRows;
                ::connectivity::ODatabaseMetaDataResultSet::ORow aRow(8);




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

Reply via email to