User: hr Date: 2007-11-01 15:13:23+0000 Modified: dba/dbaccess/source/ui/dlg/generalpage.cxx
Log: INTEGRATION: CWS dba24b (1.51.28); FILE MERGED 2007/08/27 13:35:42 fs 1.51.28.2: removed unused code (fillDetailIds call) 2007/08/27 10:47:27 fs 1.51.28.1: prepare #i80930#: removed dead code File Changes: Directory: /dba/dbaccess/source/ui/dlg/ ======================================= File [changed]: generalpage.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/dlg/generalpage.cxx?r1=1.51&r2=1.52 Delta lines: +0 -17 -------------------- --- generalpage.cxx 2007-07-06 08:17:12+0000 1.51 +++ generalpage.cxx 2007-11-01 15:13:21+0000 1.52 @@ -245,20 +245,6 @@ //------------------------------------------------------------------------- - void OGeneralPage::initializeHistory() - { - m_aSelectionHistory.clear(); - if (m_pCollection) - { - for ( ODsnTypeCollection::TypeIterator aTypeLoop = m_pCollection->begin(); - aTypeLoop != m_pCollection->end(); - ++aTypeLoop - ) - m_aSelectionHistory[aTypeLoop.getType()] = m_pCollection->getDatasourcePrefix(aTypeLoop.getType()); - } - - } - //------------------------------------------------------------------------- void OGeneralPage::setParentTitle(DATASOURCE_TYPE _eSelectedType) { if (!m_DBWizardMode) @@ -336,7 +322,6 @@ //------------------------------------------------------------------------- void OGeneralPage::implInitControls(const SfxItemSet& _rSet, sal_Bool _bSaveValue) { - initializeHistory(); initializeTypeList(); // first check whether or not the selection is invalid or readonly (invalid implies readonly, but not vice versa) @@ -499,8 +484,6 @@ return; m_eCurrentSelection = _eType; - ::std::vector< sal_Int32> aDetailIds; - ODriversSettings::fillDetailIds(m_eCurrentSelection,aDetailIds); } //------------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
