User: hr      
Date: 06/06/19 18:22:26

Modified:
 /dba/connectivity/source/drivers/evoab/
  LDatabaseMetaData.cxx

Log:
 INTEGRATION: CWS warnings01 (1.4.30); FILE MERGED
 2005/11/21 15:51:37 fs 1.4.30.3: #i57457# OSL_VERIFY_EQUALS
 2005/11/16 12:58:57 fs 1.4.30.2: #i57457# warning free code
 2005/11/07 14:43:19 fs 1.4.30.1: #i57457# warning-free code

File Changes:

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

File [changed]: LDatabaseMetaData.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/evoab/LDatabaseMetaData.cxx?r1=1.4&r2=1.5
Delta lines:  +27 -25
---------------------
--- LDatabaseMetaData.cxx       8 Sep 2005 05:43:57 -0000       1.4
+++ LDatabaseMetaData.cxx       20 Jun 2006 01:22:23 -0000      1.5
@@ -102,6 +102,9 @@
 #ifndef CONNECTIVITY_EVOAB_DEBUG_HELPER_HXX
 #include "LDebug.hxx"
 #endif
+#ifndef CONNECTIVITY_DIAGNOSE_EX_H
+#include "diagnose_ex.h"
+#endif
 
 using namespace ::comphelper;
 using namespace connectivity;
@@ -233,8 +236,8 @@
 }
 // -------------------------------------------------------------------------
 Reference< XResultSet > SAL_CALL OEvoabDatabaseMetaData::getColumnPrivileges(
-       const Any& catalog, const ::rtl::OUString& schema, const 
::rtl::OUString& table,
-        const ::rtl::OUString& columnNamePattern ) throw(SQLException, 
RuntimeException)
+       const Any& /*catalog*/, const ::rtl::OUString& /*schema*/, const 
::rtl::OUString& /*table*/,
+        const ::rtl::OUString& /*columnNamePattern*/ ) throw(SQLException, 
RuntimeException)
 {
        ::osl::MutexGuard aGuard( m_aMutex );
 
@@ -246,7 +249,7 @@
 
 // -------------------------------------------------------------------------
 Reference< XResultSet > SAL_CALL OEvoabDatabaseMetaData::getColumns(
-       const Any& catalog, const ::rtl::OUString& schemaPattern, const 
::rtl::OUString& tableNamePattern,
+       const Any& /*catalog*/, const ::rtl::OUString& /*schemaPattern*/, const 
::rtl::OUString& tableNamePattern,
         const ::rtl::OUString& columnNamePattern ) throw(SQLException, 
RuntimeException)
 {
        OSL_TRACE("OEvoabDatabaseMetaData::getColumns()::Entered\n");
@@ -341,7 +344,7 @@
 }
 // -------------------------------------------------------------------------
 Reference< XResultSet > SAL_CALL OEvoabDatabaseMetaData::getVersionColumns(
-        const Any& catalog, const ::rtl::OUString& schema, const 
::rtl::OUString& table ) throw(SQLException, RuntimeException)
+        const Any& /*catalog*/, const ::rtl::OUString& /*schema*/, const 
::rtl::OUString& /*table*/ ) throw(SQLException, RuntimeException)
 {
        ::osl::MutexGuard aGuard( m_aMutex );
 
@@ -352,7 +355,7 @@
 }
 // -------------------------------------------------------------------------
 Reference< XResultSet > SAL_CALL OEvoabDatabaseMetaData::getExportedKeys(
-        const Any& catalog, const ::rtl::OUString& schema, const 
::rtl::OUString& table ) throw(SQLException, RuntimeException)
+        const Any& /*catalog*/, const ::rtl::OUString& /*schema*/, const 
::rtl::OUString& /*table*/ ) throw(SQLException, RuntimeException)
 {
        ::osl::MutexGuard aGuard( m_aMutex );
 
@@ -363,7 +366,7 @@
 }
 // -------------------------------------------------------------------------
 Reference< XResultSet > SAL_CALL OEvoabDatabaseMetaData::getImportedKeys(
-        const Any& catalog, const ::rtl::OUString& schema, const 
::rtl::OUString& table ) throw(SQLException, RuntimeException)
+        const Any& /*catalog*/, const ::rtl::OUString& /*schema*/, const 
::rtl::OUString& /*table*/ ) throw(SQLException, RuntimeException)
 {
        ::osl::MutexGuard aGuard( m_aMutex );
 
@@ -374,7 +377,7 @@
 }
 // -------------------------------------------------------------------------
 Reference< XResultSet > SAL_CALL OEvoabDatabaseMetaData::getPrimaryKeys(
-        const Any& catalog, const ::rtl::OUString& schema, const 
::rtl::OUString& table ) throw(SQLException, RuntimeException)
+        const Any& /*catalog*/, const ::rtl::OUString& /*schema*/, const 
::rtl::OUString& /*table*/ ) throw(SQLException, RuntimeException)
 {
        ::osl::MutexGuard aGuard( m_aMutex );
 
@@ -385,8 +388,8 @@
 }
 // -------------------------------------------------------------------------
 Reference< XResultSet > SAL_CALL OEvoabDatabaseMetaData::getIndexInfo(
-       const Any& catalog, const ::rtl::OUString& schema, const 
::rtl::OUString& table,
-        sal_Bool unique, sal_Bool approximate ) throw(SQLException, 
RuntimeException)
+       const Any& /*catalog*/, const ::rtl::OUString& /*schema*/, const 
::rtl::OUString& /*table*/,
+        sal_Bool /*unique*/, sal_Bool /*approximate*/ ) throw(SQLException, 
RuntimeException)
 {
        ::osl::MutexGuard aGuard( m_aMutex );
 
@@ -397,8 +400,8 @@
 }
 // -------------------------------------------------------------------------
 Reference< XResultSet > SAL_CALL OEvoabDatabaseMetaData::getBestRowIdentifier(
-       const Any& catalog, const ::rtl::OUString& schema, const 
::rtl::OUString& table, sal_Int32 scope,
-        sal_Bool nullable ) throw(SQLException, RuntimeException)
+       const Any& /*catalog*/, const ::rtl::OUString& /*schema*/, const 
::rtl::OUString& /*table*/, sal_Int32 /*scope*/,
+        sal_Bool /*nullable*/ ) throw(SQLException, RuntimeException)
 {
        ::osl::MutexGuard aGuard( m_aMutex );
 
@@ -409,9 +412,9 @@
 }
 // -------------------------------------------------------------------------
 Reference< XResultSet > SAL_CALL OEvoabDatabaseMetaData::getCrossReference(
-       const Any& primaryCatalog, const ::rtl::OUString& primarySchema,
-       const ::rtl::OUString& primaryTable, const Any& foreignCatalog,
-        const ::rtl::OUString& foreignSchema, const ::rtl::OUString& 
foreignTable ) throw(SQLException, RuntimeException)
+       const Any& /*primaryCatalog*/, const ::rtl::OUString& /*primarySchema*/,
+       const ::rtl::OUString& /*primaryTable*/, const Any& /*foreignCatalog*/,
+        const ::rtl::OUString& /*foreignSchema*/, const ::rtl::OUString& 
/*foreignTable*/ ) throw(SQLException, RuntimeException)
 {
        ::osl::MutexGuard aGuard( m_aMutex );
 
@@ -428,8 +431,8 @@
 }
 // -------------------------------------------------------------------------
 Reference< XResultSet > SAL_CALL OEvoabDatabaseMetaData::getTables(
-        const Any& catalog, const ::rtl::OUString& schemaPattern,
-        const ::rtl::OUString& tableNamePattern, const Sequence< 
::rtl::OUString >& types ) throw(SQLException, RuntimeException)
+        const Any& /*catalog*/, const ::rtl::OUString& /*schemaPattern*/,
+        const ::rtl::OUString& /*tableNamePattern*/, const Sequence< 
::rtl::OUString >& types ) throw(SQLException, RuntimeException)
 {
        ::osl::MutexGuard aGuard( m_aMutex );
 
@@ -464,9 +467,7 @@
                return xRef;
 
        OEvoabConnection* pOEvoabConnection = (OEvoabConnection*)m_pConnection;
-       OEvoabFolderList*       pFolderList = new 
OEvoabFolderList(pOEvoabConnection,
-                                                                               
                pOEvoabConnection->getDriver()->getEvoFolderListFileName(),
-                                                                               
                ::rtl::OUString::createFromAscii("TABLE"));
+       OEvoabFolderList*       pFolderList = new OEvoabFolderList( 
pOEvoabConnection );
 
 
        ODatabaseMetaDataResultSet::ORows aRows;
@@ -516,9 +517,10 @@
                        EVO_TRACE_STRING( 
"OEvoabDatabaseMetaData::getTables()::aArg3 = %s\n", aArg3 );
 
                        OProcess aApp( aCLICommand,aWorkingDir);
-                       OProcess::TProcessError eError = aApp.execute( 
(OProcess::TProcessOption)(OProcess::TOption_Hidden | OProcess::TOption_Wait | 
OProcess::TOption_SearchPath),aArgs);
-
-                       DBG_ASSERT(eError == OProcess::E_None,"Error at execute 
evolution-addressbook-exporter to get VCards");
+            OSL_VERIFY_EQUALS(
+                aApp.execute( 
(OProcess::TProcessOption)(OProcess::TOption_Hidden | OProcess::TOption_Wait | 
OProcess::TOption_SearchPath),aArgs),
+                OProcess::E_None,
+                "Error at execute evolution-addressbook-exporter to get 
VCards" );
 
                        bMoreData = pFolderList->next();
                }




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

Reply via email to