Tag: cws_dev300_odbmacros3
User: fs      
Date: 2008-04-13 19:18:37+0000
Modified:
   dba/dbaccess/source/core/dataaccess/databasedocument.cxx

Log:
 #i49133# re-enable scripting support

File Changes:

Directory: /dba/dbaccess/source/core/dataaccess/
================================================

File [changed]: databasedocument.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/dataaccess/databasedocument.cxx?r1=1.40&r2=1.40.6.1
Delta lines:  +4 -7
-------------------
--- databasedocument.cxx        2008-03-11 09:43:41+0000        1.40
+++ databasedocument.cxx        2008-04-13 19:18:34+0000        1.40.6.1
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: databasedocument.cxx,v $
  *
- *  $Revision: 1.40 $
+ *  $Revision: 1.40.6.1 $
  *
- *  last change: $Author: obo $ $Date: 2008/03/11 09:43:41 $
+ *  last change: $Author: fs $ $Date: 2008/04/13 19:18:34 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -196,12 +196,9 @@
 bool ODatabaseDocument::impl_shouldDisallowScripting_nolck_nothrow() const
 {
     ::osl::MutexGuard aGuard( getMutex() );
-    // TODO: revert to the disabled code. The current version is just to be 
able
-    // to integrate an intermediate version of the CWS, which should behave as
-    // if no macros in DB docs are allowed
-//    if ( m_pImpl.is() && m_pImpl->hasAnyObjectWithMacros() )
+    if ( m_pImpl.is() && m_pImpl->hasAnyObjectWithMacros() )
         return true;
-//    return false;
+    return false;
 }
 
 // 
-----------------------------------------------------------------------------




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

Reply via email to