User: kz Date: 2006/07/19 15:33:46 Modified: dba/dbaccess/source/ui/app/AppController.cxx
Log: INTEGRATION: CWS warningfixes02 (1.30.4); FILE MERGED 2006/06/30 11:53:07 sb 1.30.4.1: #i66577# Made the code compile (warning-free) on a unxlngi6.pro GCC 4.1.1 Linux box. File Changes: Directory: /dba/dbaccess/source/ui/app/ ======================================= File [changed]: AppController.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/app/AppController.cxx?r1=1.31&r2=1.32 Delta lines: +7 -7 ------------------- --- AppController.cxx 10 Jul 2006 15:22:12 -0000 1.31 +++ AppController.cxx 19 Jul 2006 22:33:43 -0000 1.32 @@ -769,21 +769,21 @@ aReturn.bEnabled = getContainer()->getElementType() == E_TABLE && isConnected(); break; case SID_DB_APP_DSPROPS: - if ( aReturn.bEnabled = m_xDataSource.is() ) + if ( (aReturn.bEnabled = m_xDataSource.is()) ) { DATASOURCE_TYPE eType = m_aTypeCollection.getType(::comphelper::getString(m_xDataSource->getPropertyValue(PROPERTY_URL))); aReturn.bEnabled = DST_EMBEDDED != eType && DST_MOZILLA != eType && DST_EVOLUTION != eType && DST_KAB != eType && DST_OUTLOOK != eType && DST_OUTLOOKEXP != eType; } break; case SID_DB_APP_DSCONNECTION_TYPE: - if ( aReturn.bEnabled = !isDataSourceReadOnly() && m_xDataSource.is() ) + if ( (aReturn.bEnabled = !isDataSourceReadOnly() && m_xDataSource.is()) ) { DATASOURCE_TYPE eType = m_aTypeCollection.getType(::comphelper::getString(m_xDataSource->getPropertyValue(PROPERTY_URL))); aReturn.bEnabled = DST_EMBEDDED != eType; } break; case SID_DB_APP_DSADVANCED_SETTINGS: - if ( aReturn.bEnabled = m_xDataSource.is() ) + if ( (aReturn.bEnabled = m_xDataSource.is()) ) { DATASOURCE_TYPE eType = m_aTypeCollection.getType(::comphelper::getString(m_xDataSource->getPropertyValue(PROPERTY_URL))); aReturn.bEnabled = DST_EMBEDDED != eType && DST_LDAP != eType && DST_CALC != eType && DST_MOZILLA != eType && DST_THUNDERBIRD != eType && DST_EVOLUTION != eType && DST_KAB != eType && DST_OUTLOOK != eType && DST_OUTLOOKEXP != eType; @@ -834,7 +834,7 @@ aReturn.bEnabled = sal_False; break; case SID_DB_APP_STATUS_TYPE: - if ( aReturn.bEnabled = m_xDataSource.is() ) + if ( (aReturn.bEnabled = m_xDataSource.is()) ) { DATASOURCE_TYPE eType = m_aTypeCollection.getType(::comphelper::getString(m_xDataSource->getPropertyValue(PROPERTY_URL))); ::rtl::OUString sDSTypeName = m_aTypeCollection.getTypeDisplayName(eType); @@ -842,7 +842,7 @@ } break; case SID_DB_APP_STATUS_DBNAME: - if ( aReturn.bEnabled = m_xDataSource.is() ) + if ( (aReturn.bEnabled = m_xDataSource.is()) ) { ::rtl::OUString sTemp; m_xDataSource->getPropertyValue(PROPERTY_URL) >>= sTemp; @@ -878,11 +878,11 @@ } break; case SID_DB_APP_STATUS_USERNAME: - if ( aReturn.bEnabled = m_xDataSource.is() ) + if ( (aReturn.bEnabled = m_xDataSource.is()) ) m_xDataSource->getPropertyValue( PROPERTY_USER ) >>= aReturn.sTitle; break; case SID_DB_APP_STATUS_HOSTNAME: - if ( aReturn.bEnabled = m_xDataSource.is() ) + if ( (aReturn.bEnabled = m_xDataSource.is()) ) { ::rtl::OUString sTemp; m_xDataSource->getPropertyValue(PROPERTY_URL) >>= sTemp; --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
