To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=92638





------- Additional comments from [EMAIL PROTECTED] Wed Sep 10 12:10:53 +0000 
2008 -------
additional note: The fact that (in case of /no/ crash) nothing is written into
the field is caused by a bug in the Basic script: The line 

  oStream.readBytes(oData(), lLen)

is superfluous and wrong: It actually reads all bytes from the stream into the
oData array. In particular, the stream is then positioned at its end, so any
subsequent read (and setBinaryStream internally of course does such reads)
cannot read anything.

If you omit this single line in the script, then writing the file content works.


---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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

Reply via email to