Tag: cws_src680_rpt23fix01 User: oj Date: 2007-07-31 19:20:07+0000 Modified: dba/dbaccess/source/ui/app/AppController.cxx
Log: reverse issue #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.2.2&r2=1.42.2.3 Delta lines: +12 -12 --------------------- --- AppController.cxx 2007-07-31 19:01:40+0000 1.42.2.2 +++ AppController.cxx 2007-07-31 19:20:04+0000 1.42.2.3 @@ -1689,20 +1689,20 @@ 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; + //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); + aInfo = SQLExceptionInfo(aSQLException); // - // showError(aInfo); + showError(aInfo); break; } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
