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





------- Additional comments from [EMAIL PROTECTED] Mon Aug 21 02:28:19 -0700 
2006 -------
npower->bmarcelly

>1 - Your code does not close the document, it close the current frame of the
>document. 
>The result is a document without frame. I can't say if it is a legal use of the
>API.

well it's not my code ;-) but I do think you have a point with respect to
closing the Frame ( I didn't see that, I just assumed it was closing the
document ). But.... regardless, if I change the code in 'lcl_closedoc' to
actually close the model ( e.g. replacing the line
'oFrame = oDoc.CurrentController.Frame' with
'oFrame = oDoc'  )

it makes no difference and the results I observe are exactly the same

Maybe the platform makes a difference, so I will mark this issue as Linux (
where I see the problem )

Also its worth noting that I run the macro from the document e.g. (
tools/macros/organiser, select MyMacros.Buglib.Main and press the run button )

IIRC running the macro from the IDE can yield slightly different results.

npower->cd
is the close operation asynchronous? if it is then the value of ThisComponent
really can't be gauranteed directly after a close I guess ( it will depend on
when the next window/frame get activated ) 
So, I suppose really the key question here is, 
is it correct for the code that worked in OO1.5 to depend on the value of
ThisComponent in the scenario ( accessing ThisComponent directly after a close? 
)
if yes then there is a bug, if no then we can say in OO1.5 we just got away with
 it 

Regarding a workaround, thats quite simple, you just need to save ThisComponent
before you open/close the csv file. 

---------------------------------------------------------------------
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