Tag: cws_ooo300_reportbuilderext User: fs Date: 2008-08-06 14:07:36+0000 Modified: dba/dbaccess/source/ui/app/AppController.cxx
Log: #i92508# getSelection: do not ask for the E_NONE selection 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.63&r2=1.63.24.1 Delta lines: +5 -3 ------------------- --- AppController.cxx 2008-06-25 12:35:22+0000 1.63 +++ AppController.cxx 2008-08-06 14:07:33+0000 1.63.24.1 @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: AppController.cxx,v $ - * $Revision: 1.63 $ + * $Revision: 1.63.24.1 $ * * This file is part of OpenOffice.org. * @@ -3029,7 +3029,9 @@ ::osl::MutexGuard aGuard(m_aMutex); Sequence< NamedDatabaseObject > aCurrentSelection; - getContainer()->describeCurrentSelectionForType( getContainer()->getElementType(), aCurrentSelection ); + const ElementType eType( getContainer()->getElementType() ); + if ( eType != E_NONE ) + getContainer()->describeCurrentSelectionForType( eType, aCurrentSelection ); return makeAny( aCurrentSelection ); } // ----------------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
