Tag: odbmacros_2_5 User: fs Date: 2008-02-14 12:35:34+0000 Modified: dba/dbaccess/source/ui/misc/singledoccontroller.cxx
Log: #i49133# re-enable the macros in DBDocs, which had been temporarily disable to finalize CWS odbmacros2 File Changes: Directory: /dba/dbaccess/source/ui/misc/ ======================================== File [changed]: singledoccontroller.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/misc/singledoccontroller.cxx?r1=1.22.98.6&r2=1.22.98.6.2.1 Delta lines: +5 -9 ------------------- --- singledoccontroller.cxx 2008-02-14 08:37:41+0000 1.22.98.6 +++ singledoccontroller.cxx 2008-02-14 12:35:31+0000 1.22.98.6.2.1 @@ -4,9 +4,9 @@ * * $RCSfile: singledoccontroller.cxx,v $ * - * $Revision: 1.22.98.6 $ + * $Revision: 1.22.98.6.2.1 $ * - * last change: $Author: fs $ $Date: 2008/02/14 08:37:41 $ + * last change: $Author: fs $ $Date: 2008/02/14 12:35:31 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -165,13 +165,9 @@ bool documentHasScriptSupport() const { - // 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 - return false; -// OSL_PRECOND( !!m_aDocScriptSupport, -// "OSingleDocumentControllerImpl::documentHasScriptSupport: not completely initialized, yet - don't know!?" ); -// return !!m_aDocScriptSupport && *m_aDocScriptSupport; + OSL_PRECOND( !!m_aDocScriptSupport, + "OSingleDocumentControllerImpl::documentHasScriptSupport: not completely initialized, yet - don't know!?" ); + return !!m_aDocScriptSupport && *m_aDocScriptSupport; } void setDocumentScriptSupport( const bool _bSupport ) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
