Tag: mws_ooo300 User: rt Date: 2008-08-27 15:50:53+0000 Modified: dba/dbaccess/source/ui/app/AppDetailPageHelper.cxx
Log: INTEGRATION: CWS reportbuilderext (1.33.28); FILE MERGED 2008/08/06 14:07:59 fs 1.33.28.1: #i92508# getSelection: do not ask for the E_NONE selection File Changes: Directory: /dba/dbaccess/source/ui/app/ ======================================= File [changed]: AppDetailPageHelper.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/app/AppDetailPageHelper.cxx?r1=1.33&r2=1.33.18.1 Delta lines: +1 -1 ------------------- --- AppDetailPageHelper.cxx 2008-06-25 12:36:31+0000 1.33 +++ AppDetailPageHelper.cxx 2008-08-27 15:50:50+0000 1.33.18.1 @@ -473,7 +473,7 @@ void OAppDetailPageHelper::describeCurrentSelectionForType( const ElementType _eType, Sequence< NamedDatabaseObject >& _out_rSelectedObjects ) { OSL_ENSURE( _eType < E_ELEMENT_TYPE_COUNT, "OAppDetailPageHelper::describeCurrentSelectionForType: invalid type!" ); - DBTreeListBox* pList = m_pLists[ _eType ]; + DBTreeListBox* pList = ( _eType < E_ELEMENT_TYPE_COUNT ) ? m_pLists[ _eType ] : NULL; OSL_ENSURE( pList, "OAppDetailPageHelper::describeCurrentSelectionForType: " "You really should ensure this type has already been viewed before!" ); if ( !pList ) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
