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


User fheckl changed the following:

                What    |Old value                 |New value
================================================================================
                  Status|STARTED                   |RESOLVED
--------------------------------------------------------------------------------
              Resolution|                          |FIXED
--------------------------------------------------------------------------------




------- Additional comments from [email protected] Thu Jan 15 23:21:53 
+0000 2009 -------
Fixed in cws aquafilepicker03. However I changed my mind and decided that if 
the dialog is not 
properly initialized from the outside, it might be better to throw an exception 
than to switch to a 
default mode (which might be the wrong type of dialog anyway).

The fix can be tested with the document I will attach next. It runs the 
following OOo Basic macro that 
would just do nothing without the patch:

Sub Main

Dim oFp
Dim initArgs(0)

        On Local Error Goto InitializeFilePicker
        
        ' try to create the default FilePicker
        oFp = createunoservice("com.sun.star.ui.dialogs.FilePicker")
        Goto RunFilePicker
        
InitializeFilePicker:
        On Local Error Goto 0
        initArgs(0) = 0
        oFp.Initialize(initArgs)

RunFilePicker:
        oFp.execute

End Sub


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