Tag: cws_src680_oj14
User: lla     
Date: 2007-05-29 05:16:35+0000
Log:
 #77407# back 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.22.4.15&r2=1.22.4.16
Delta lines:  +7 -7
-------------------
--- AppController.cxx   2007-05-24 11:54:06+0000        1.22.4.15
+++ AppController.cxx   2007-05-29 05:16:32+0000        1.22.4.16
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: AppController.cxx,v $
  *
- *  $Revision: 1.22.4.15 $
+ *  $Revision: 1.22.4.16 $
  *
- *  last change: $Author: lla $ $Date: 2007/05/24 11:54:06 $
+ *  last change: $Author: lla $ $Date: 2007/05/29 05:16:32 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -1708,12 +1708,12 @@
                                ::std::auto_ptr<OLinkedDocumentsAccess> aHelper 
= getDocumentsAccess(_eType);
                                Reference< XComponent > xDefinition;
                                xRet.set(aHelper->open(_sName, 
xDefinition,_eOpenMode),UNO_QUERY);
-                               // if (_eOpenMode == 
OLinkedDocumentsAccess::OPEN_DESIGN ||
-                               // _eType == E_FORM )
-                               // {    
+                               if (_eOpenMode == 
OLinkedDocumentsAccess::OPEN_DESIGN ||
+                               _eType == E_FORM )
+                               {       
                                //      // LLA: close only if in EDIT mode
-                               //     addDocumentListener(xRet,xDefinition);
-                               // }
+                                   addDocumentListener(xRet,xDefinition);
+                               }
                        }
                        break;
                




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

Reply via email to