Tag: cws_src680_rpt23fix02
User: lla     
Date: 2007-07-23 11:12:32+0000
Modified:
   dba/dbaccess/source/ui/misc/linkeddocuments.cxx

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

File Changes:

Directory: /dba/dbaccess/source/ui/misc/
========================================

File [changed]: linkeddocuments.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/misc/linkeddocuments.cxx?r1=1.22&r2=1.22.16.1
Delta lines:  +10 -3
--------------------
--- linkeddocuments.cxx 2007-07-06 08:37:12+0000        1.22
+++ linkeddocuments.cxx 2007-07-23 11:12:29+0000        1.22.16.1
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: linkeddocuments.cxx,v $
  *
- *  $Revision: 1.22 $
+ *  $Revision: 1.22.16.1 $
  *
- *  last change: $Author: rt $ $Date: 2007/07/06 08:37:12 $
+ *  last change: $Author: lla $ $Date: 2007/07/23 11:12:29 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -144,6 +144,8 @@
 
 #include <connectivity/dbtools.hxx>
 #include <toolkit/helper/vclunohelper.hxx>
+#include <com/sun/star/io/WrongFormatException.hpp>
+#include "ExtensionNotPresent.hxx"
 
 //......................................................................
 namespace dbaui
@@ -432,6 +434,11 @@
                        }
                        return xRet;
                }
+               catch (com::sun::star::io::WrongFormatException e)
+               { 
+                       OExtensionNotPresentDialog aDlg(m_pDialogParent 
/*getView()*/, m_xORB/* getORB() */);
+            aDlg.Execute();
+               }
                catch(Exception& e) 
                {
             com::sun::star::sdbc::SQLException aSQLException;




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to