Tag: cws_src680_rpt23fix02
User: lla     
Date: 2007-07-23 11:12:19+0000
Modified:
   dba/dbaccess/source/ui/app/AppController.cxx

Log:
 #i79879# open old reports, if extension not present fix

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.42.12.1
Delta lines:  +14 -16
---------------------
--- AppController.cxx   2007-07-06 07:57:53+0000        1.42
+++ AppController.cxx   2007-07-23 11:12:16+0000        1.42.12.1
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: AppController.cxx,v $
  *
- *  $Revision: 1.42 $
+ *  $Revision: 1.42.12.1 $
  *
- *  last change: $Author: rt $ $Date: 2007/07/06 07:57:53 $
+ *  last change: $Author: lla $ $Date: 2007/07/23 11:12:16 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -257,8 +257,6 @@
 #include <algorithm>
 #include <functional>
 
-#include "ExtensionNotPresent.hxx"
-
 #define APP_SIZE_WIDTH 350
 #define APP_SIZE_HEIGHT        250
 
@@ -1683,14 +1681,14 @@
        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();
+//            {
+//                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 ) );
@@ -1704,9 +1702,9 @@
                     // 
                     // showError(aInfo);
 
-                                       break;
-                               }
-            }// run through
+//                                     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]

Reply via email to