User: hr      
Date: 2007-08-02 14:25:53+0000
Modified:
   dba/dbaccess/source/ui/app/AppController.cxx

Log:
 INTEGRATION: CWS rpt23fix01 (1.42.2); FILE MERGED
 2007/07/31 19:20:04 oj 1.42.2.3: reverse issue #i78940#
 2007/07/31 19:01:40 oj 1.42.2.2: reverse issue #i78940#
 2007/07/11 11:34:01 oj 1.42.2.1: #i78940# ask for ext when not present

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&r2=1.43
Delta lines:  +12 -12
---------------------
--- AppController.cxx   2007-07-06 07:57:53+0000        1.42
+++ AppController.cxx   2007-08-02 14:25:50+0000        1.43
@@ -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]

Reply via email to