Tag: cws_src680_dba24a User: oj Date: 2007-08-13 05:27:47+0000 Modified: dba/dbaccess/source/ui/app/AppController.cxx
Log: RESYNC: (1.42-1.44); FILE MERGED 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.14.4&r2=1.42.14.5 Delta lines: +4 -29 -------------------- --- AppController.cxx 2007-08-09 09:01:52+0000 1.42.14.4 +++ AppController.cxx 2007-08-13 05:27:44+0000 1.42.14.5 @@ -180,6 +180,7 @@ #ifndef _DBAUI_LISTVIEWITEMS_HXX_ #include "listviewitems.hxx" #endif +#include "ExtensionNotPresent.hxx" #ifndef DBAUI_APPDETAILVIEW_HXX #include "AppDetailView.hxx" #endif @@ -260,8 +261,6 @@ #include <algorithm> #include <functional> -#include "ExtensionNotPresent.hxx" - #define APP_SIZE_WIDTH 350 #define APP_SIZE_HEIGHT 250 @@ -1708,30 +1707,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]
