Tag: cws_src680_asyncdialogs2 User: pb Date: 2007-09-17 07:15:04+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.37.34.6&r2=1.37.34.7 Delta lines: +1 -26 -------------------- --- AppController.cxx 2007-07-11 12:18:01+0000 1.37.34.6 +++ AppController.cxx 2007-09-17 07:15:02+0000 1.37.34.7 @@ -178,6 +178,7 @@ #ifndef _DBAUI_LISTVIEWITEMS_HXX_ #include "listviewitems.hxx" #endif +#include "ExtensionNotPresent.hxx" #ifndef DBAUI_APPDETAILVIEW_HXX #include "AppDetailView.hxx" #endif @@ -257,8 +258,6 @@ #include <algorithm> #include <functional> -#include "ExtensionNotPresent.hxx" - #define APP_SIZE_WIDTH 350 #define APP_SIZE_HEIGHT 250 @@ -1707,30 +1706,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]
