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





------- Additional comments from [EMAIL PROTECTED] Tue Sep 30 05:33:50 +0000 
2008 -------
I have pasted the content of Shaun proposal, and I'll have a look today. 

I have created macx11leofix, and I'll commit a fix (I expect to find a working 
solution) by today

Anybody to do the QA ?  


Starting point of my code will be the following lines, Shaun posted on his blog 
:

Then replace the code block "on openSoffice(aFile)"...."end openSoffice" with 
the following:

on openSoffice(aFile)
 if (atLeastOSXVersion(10, 5, 0)) then
  -- if we have leopard, we don't need to manually start the X server first
  set theCmd to "sh " & (quoted form of (POSIX path of getOOProgramPath() & 
"soffice")) & " "
  do shell script theCmd & aFile & shellTerminator()
 else
  set theDisplay to startXServer()
  if (theDisplay is equal to "error") then
   return
  end if
  set theEnv to "DISPLAY=" & theDisplay & " ; export DISPLAY; "
  set theCmd to "sh " & (quoted form of (POSIX path of getOOProgramPath() & 
"soffice")) & " "
  do shell script theEnv & theCmd & aFile & shellTerminator()
  -- logEvent("open CMD: " & theEnv & theCmd & aFile)
 end if
end openSoffice



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