Tag: cws_ooo300_reportbuilderext User: fs Date: 2008-08-06 14:08:02+0000 Modified: dba/dbaccess/source/ui/app/AppDetailPageHelper.cxx
Log: #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.28.1 Delta lines: +3 -3 ------------------- --- AppDetailPageHelper.cxx 2008-06-25 12:36:31+0000 1.33 +++ AppDetailPageHelper.cxx 2008-08-06 14:07:59+0000 1.33.28.1 @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: AppDetailPageHelper.cxx,v $ - * $Revision: 1.33 $ + * $Revision: 1.33.28.1 $ * * This file is part of OpenOffice.org. * @@ -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]
