User: obo     
Date: 06/03/29 04:17:42

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

Log:
 INTEGRATION: CWS dba203a (1.10.76); FILE MERGED
 2006/03/17 15:37:55 fs 1.10.76.1: #i60163# localized error messages

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&r2=1.11
Delta lines:  +12 -14
---------------------
--- MDatabaseMetaData.cxx       8 Sep 2005 06:17:56 -0000       1.10
+++ MDatabaseMetaData.cxx       29 Mar 2006 12:17:40 -0000      1.11
@@ -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() );
     }
 
     // ****************************************************
@@ -1023,7 +1023,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 );
 
@@ -1134,9 +1134,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