Tag: cws_dev300_dba30b User: fs Date: 2008-04-09 12:22:29+0000 Modified: dba/dbaccess/source/ui/app/AppController.cxx
Log: oops ... we shouldn't crash when the user cancels a login dialog after double-clicking a form 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.56.4.2&r2=1.56.4.3 Delta lines: +6 -3 ------------------- --- AppController.cxx 2008-03-17 13:38:02+0000 1.56.4.2 +++ AppController.cxx 2008-04-09 12:22:26+0000 1.56.4.3 @@ -4,9 +4,9 @@ * * $RCSfile: AppController.cxx,v $ * - * $Revision: 1.56.4.2 $ + * $Revision: 1.56.4.3 $ * - * last change: $Author: fs $ $Date: 2008/03/17 13:38:02 $ + * last change: $Author: fs $ $Date: 2008/04/09 12:22:26 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -1775,7 +1775,10 @@ case E_REPORT: case E_FORM: { - ::std::auto_ptr<OLinkedDocumentsAccess> aHelper = getDocumentsAccess(_eType); + ::std::auto_ptr< OLinkedDocumentsAccess > aHelper = getDocumentsAccess( _eType ); + if ( !aHelper->isConnected() ) + break; + Reference< XComponent > xDefinition; xRet = aHelper->open( _sName, xDefinition, _eOpenMode, _rAdditionalArguments ); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
