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





------- Additional comments from mrala...@openoffice.org Wed Aug 19 12:04:19 
+0000 2009 -------
I found out that:

     Reference<XCloseable> rCloseable(xComponent, UNO_QUERY);
     rCloseable->close(sal_False); //leads me to Openoffice hanging

will work, ONLY IF THERE IS A Sleep(x e N,x>0) before these:

     Sleep(1000); //will make the following commands
     Reference<XCloseable> rCloseable(xComponent, UNO_QUERY);
     rCloseable->close(sal_False); //leads me to Openoffice hanging because
//there may be some threads which will close each other, if the documents are
open/closed in a very very short period(previous component is not closed jet and
the new doc is about to be closed ... -> will cause hanging of openoffice)

This was not documented somewhere ... i hope that sometime the API of OpenOffice
will work as good as the winword C++ API.

---------------------------------------------------------------------
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: issues-unsubscr...@sw.openoffice.org
For additional commands, e-mail: issues-h...@sw.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to