Apache OpenOffice (AOO) Bugzilla – Issue 96566
[Automation] e_location.bas incorrectly interprets returnvalue from hFileOpen
Last modified: 2013-08-07 15:07:24 UTC
Found in DEV300m35 / CWS jl105: The function hOpenFile has been adjusted to correctly return "FALSE" in case of a blocking open dialog. This causes the test to issue a warning which is incorrect as the Macro Security Warning is expected at this point. Change the code to something like: '///<ul> '///+<li>Load the testdocument</li> brc = hFileOpen( cWorkPath & DOCUMENT_NAME ) if ( not brc ) then '///+<li>Allow macro execution</li> brc = hAllowMacroExecution() if ( not brc ) then warnlog( "Macro execution warning is missing" ) endif else warnlog( "Macro execution dialog missing" ) endif
Sending location.inc Transmitting file data . Committed revision 264448.
set verified
good in m38, closing