Tag: cws_dev300_dba30h User: fs Date: 2008-08-11 20:12:43+0000 Modified: dba/dbaccess/source/ui/app/AppController.cxx
Log: #i92668# 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.12.1 Delta lines: +10 -7 -------------------- --- AppController.cxx 2008-06-25 12:35:22+0000 1.63 +++ AppController.cxx 2008-08-11 20:12:41+0000 1.63.12.1 @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: AppController.cxx,v $ - * $Revision: 1.63 $ + * $Revision: 1.63.12.1 $ * * This file is part of OpenOffice.org. * @@ -2076,12 +2076,15 @@ case E_REPORT: { ::std::auto_ptr<OLinkedDocumentsAccess> aHelper = getDocumentsAccess(_eType); + if ( aHelper->isConnected() ) + { Reference< XComponent > xComponent,xDefinition; sal_Int32 nCommandType = -1; const ::rtl::OUString sName(getCurrentlySelectedName(nCommandType)); xComponent = aHelper->newDocument(_eType == E_FORM ? ID_FORM_NEW_TEXT : ID_REPORT_NEW_TEXT,xDefinition,nCommandType,sName); addDocumentListener(xComponent,xDefinition); } + } break; case E_QUERY: case E_TABLE: --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
