Tag: cws_src680_rpt23fix02 User: oj Date: 2007-08-01 08:16:12+0000 Modified: dba/dbaccess/source/ui/app/AppController.cxx
Log: #i78940# 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.42.12.4&r2=1.42.12.5 Delta lines: +0 -24 -------------------- --- AppController.cxx 2007-07-31 19:41:23+0000 1.42.12.4 +++ AppController.cxx 2007-08-01 08:16:09+0000 1.42.12.5 @@ -1682,30 +1682,6 @@ 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() ) - { -// OExtensionNotPresentDialog aDlg(getView(), getORB()); - // aDlg.Execute(); - // // is there no report designer available? - static const ::rtl::OUString sStatus = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("S1000")); - String sMsg = String( ModuleRes( RID_STR_ERROR_NO_REPORT_INSTALLED ) ); - // // sMsg.SearchAndReplace('#',e.Message); - SQLExceptionInfo aInfo; - // - SQLException aSQLException; - aSQLException.Message = sMsg; - // // aSQLException.Context = e.Context; - aInfo = SQLExceptionInfo(aSQLException); - // - showError(aInfo); - - 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]
