To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=90832
                 Issue #|90832
                 Summary|setting CHECKBOX_AUTOEXTENSION crash on OOo 3.0 beta o
                        |n MACOSX  Only
               Component|gsl
                 Version|OOo 3.0 Beta
                Platform|Macintosh
                     URL|
              OS/Version|Mac OS X
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|pl
             Reported by|vspiewak





------- Additional comments from [EMAIL PROTECTED] Wed Jun 18 09:01:38 +0000 
2008 -------
If I set CHECKBOX_AUTOEXTENSION to true, it crash on OOo 3.0 beta on MACOSX 
ONLY.


This is a sample code (found originally on oooforum.org):
[code]
// add a control to the dialog to add the extension automatically to the 
filename...
XFilePickerControlAccess xFilePickerControlAccess = (XFilePickerControlAccess)
UnoRuntime.queryInterface(XFilePickerControlAccess.class, xFilePicker);

// OOo crash on this line
xFilePickerControlAccess.setValue(com.sun.star.ui.dialogs.ExtendedFilePickerElementIds.CHECKBOX_AUTOEXTENSION,
(short) 0, new Boolean(true));

[/code]

It works on:
- OOo 2.3/2.4 Windows XP, Ubuntu 7.10, MacOSX
- OOo beta 3.0 Windows XP, Ubuntu not tested yet...

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