Tag: cws_src680_oj14 User: oj Date: 2007/04/30 05:40:58 Modified: dba/dbaccess/source/ui/app/AppController.cxx
Log: #i76758# check that service is avail 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.22.4.13&r2=1.22.4.14 Delta lines: +9 -2 ------------------- --- AppController.cxx 26 Apr 2007 10:45:58 -0000 1.22.4.13 +++ AppController.cxx 30 Apr 2007 12:40:56 -0000 1.22.4.14 @@ -4,9 +4,9 @@ * * $RCSfile: AppController.cxx,v $ * - * $Revision: 1.22.4.13 $ + * $Revision: 1.22.4.14 $ * - * last change: $Author: oj $ $Date: 2007/04/26 10:45:58 $ + * last change: $Author: oj $ $Date: 2007/04/30 12:40:56 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -1681,6 +1681,13 @@ switch ( _eType ) { case E_REPORT: + { + Reference< XContentEnumerationAccess > xEnumAccess(m_xServiceFactory, UNO_QUERY); + static ::rtl::OUString s_sReportDesign(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.report.pentaho.SOReportJobFactory")); + Reference< XEnumeration > xEnumDrivers = xEnumAccess->createContentEnumeration(s_sReportDesign); + if ( !xEnumDrivers.is() || !xEnumDrivers->hasMoreElements() ) + break; + }// run through case E_FORM: { ::std::auto_ptr<OLinkedDocumentsAccess> aHelper = getDocumentsAccess(_eType); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
