User: hr Date: 05/04/06 04:40:11 Modified: /dba/dbaccess/source/ui/app/ AppController.cxx
Log: INTEGRATION: CWS dba31 (1.18.12); FILE MERGED 2005/04/05 08:10:47 oj 1.18.12.1: #i46465# return document defintion to controller 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.19&r2=1.20 Delta lines: +5 -2 ------------------- --- AppController.cxx 6 Apr 2005 09:47:41 -0000 1.19 +++ AppController.cxx 6 Apr 2005 11:40:09 -0000 1.20 @@ -1796,10 +1796,13 @@ } } + Reference< XComponent > xComponent,xDefinition; if ( E_REPORT == _eType ) - aHelper->newReportWithPilot(nCommandType,sName); + xComponent = aHelper->newReportWithPilot(xDefinition,nCommandType,sName); else - aHelper->newFormWithPilot(nCommandType,sName); + xComponent = aHelper->newFormWithPilot(xDefinition,nCommandType,sName); + + addDocumentListener(xComponent,xDefinition); } } break; --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
